/* Set variables */
:root {
    --top-nav-h: 80px;
    --banner-h: 110px;
    --nav-icon-size: 48px;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ad Container */
.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    padding: 10px;

    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;

    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;

    color: brown;
}

html {
    min-height: 100%;
}

body {
    background-color: black;
    color: whitesmoke;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    line-height: 1.5;
    min-height: 100dvh;
    min-width: 100%;

    /* Reserve space for fixed nav + fixed banner/header */
    padding-top: calc(var(--top-nav-h) /* + var(--banner-h) */);
    overflow-y: auto;
}

/* Layout */
.anchored > h1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    background-color: #44B78B;
    color: white;
}

.back-link {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.app-title {
    text-align: center;
}

.account-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.back-image {
    display: block;
    width: 56px;
    height: 56px;
}

.account-image {
    display: block;
    width: 56px;
    height: 56px;
}

/* Fixed banner/header directly below nav */
.about-header {
    position: fixed;
    top: var(--top-nav-h);
    left: 0;
    right: 0;
/*     height: var(--banner-h); */
    z-index: 900;

    background-color: black;
    border-bottom: 1px solid #333;
    overflow: hidden;
}

.intro-header {
    position: fixed;
/*     top: var(--top-nav-h); */
    top: 0;
    left: 0;
    right: 0;
/*     height: var(--banner-h); */
    z-index: 900;

    background-color: black;
    border-bottom: 1px solid #333;
    overflow: hidden;
}

/* Banner + h1 layout */
.about-header, .header-container {
    display: flex;
}

.signed-about-header header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signed-about-header .header-content h1 {
    text-align: center;
}

.sodalities-list {
    text-align: center;
}

/* Banner image area */
.about-header .image-wrapper {
    flex: 0 0 auto;
    height: 100%;
}

/* Banner image */
.responsive-banner {
    height: 100%;
    width: auto;
    max-width: 40vw;
    display: block;
    object-fit: contain;
}

/* Content to the right of banner */
.about-header .header-content {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0.5rem 1rem;
}

/* h1 beside the banner */
.about-header h1 {
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    line-height: 1.1;
    margin: 0;
}

.about-msg {
    /* padding-top: calc( var(--top-nav-h) +  var(--banner-h)); */
    padding-top: calc( var(--banner-h));
}

/* Main content scrolls normally below the fixed nav/banner */
main,
footer {
    position: relative;
    z-index: 1;
}

.disable-links,
.forgot_password,
.about-community,
.about-community:link,
.about-community:visited {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1.4;

    color: #ffffff;
    /* background-color: #44B78B; */

    /* padding: 0.6rem 1rem; */
    /* border-radius: 0.5rem; */

    text-decoration: none;
    font-weight: bold;
}

/* When mouse hovers or keyboard focuses */
.about-community:hover,
.about-community:focus {
    color: #ffffff;
    /* background-color: #2f8f6d; */
    text-decoration: underline;
/*     outline: 2px solid #ffffff;
    outline-offset: 3px; */
}

/* While being clicked */
.about-community:active {
    color: #ffffff;
    background-color: #1f6f54;
}

.account-menu {
  display: flex;                /* flex formatting context */
  flex-direction: column;       /* stack H1 + UL vertically */
  justify-content: center;      /* vertical centering */
  align-items: center;          /* horizontal centering */
  min-height: 100%;            /* fill the viewport height */
  width: 100%;                 /* full viewport width */
  text-align: center;           /* center text inside children */
  margin: 0;                    /* just in case */
}

/* optional: remove list‐styles and tighten up the list */
.account-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-menu li {
  margin: .5em 0;
}


.account-main-class a,
.account-main-class a:link,
.account-main-class a:visited,
.account-main-class a:hover,
.account-main-class a:active {
    color: whitesmoke;
}



.register-main-class {
    width: 100%;
    min-height: 100%;
    padding: 1rem;
}

.container {
    max-height: 75vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex: 1;
    overflow: visible;
    justify-content: center;
} 

/* Form styles */
.form-with-validation {
    height: auto;
    font-size: 1rem;
    padding: 1rem;
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.form-with-validation div {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-with-validation input {
    max-width: fit-content;
    max-height: fit-content;
    margin-bottom: 1rem;
}

.form-with-validation input,
.form-with-validation select {
    height: 1.5rem;
    padding: 0;
    font-size: 1rem;
    box-sizing: border-box;
    text-align: left; 
    text-align-last: left; 
}

.full-width {
    width: 100%;
    padding-right: 3rem;
}

.form-with-validation .form-actions {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.register {
    color: white;
}

.registeration-form {
    width: 100%;
    font-family: 'Times New Roman', Times, serif;
    margin-left: 0rem;
    margin-right: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
/*    font-size: 1rem; */
    overflow-y: auto;
    max-height: 70vh;
    padding: 1rem; 
}

.users-main-class {
    height: 100%;
    width: 100%;
}

.new-sodality-main-class,
.signin-class {
    height: 100%;
    width: 100%;
    /* overflow: hidden; */
    overflow: auto;
}

.new_sodality {
    justify-items: center;
}

.noflex-container {
    overflow: auto;
}

.fixed-heading {
    position: sticky;
    width: 100%;
    height: auto;
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    line-height: 1.3;
    padding: 0.75rem 0.5rem;
    background: black;
}

.item-list,
.item-list-20,
.item-list-30,
.item-list-70,
.item-list-80 {
    font-family: 'Times New Roman', Times, serif;
    margin-left: 1rem;
    margin-right: 1rem;
    font-size: 1.05rem;
    line-height: 1.5;
    overflow-y: auto;
    max-height: 70vh;
    padding: 1rem;
    text-align: center;
}

.item-list {
    width: 100%;
}

.item-list-20 {
    width: 20%;
}

.item-list-30 {
    width: 30%;
}

.item-list-70 {
    width: 70%;
}

.item-list-80 {
    width: 80%;
}

.item-list ul,
.item-list-20 ul,
.item-list-30 ul,
.item-list-70 ul,
.item-list-80 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.item-list li,
.item-list-20 li,
.item-list-30 li,
.item-list-70 li,
.item-list-80 li {
    text-align: center;
    margin: 0.5rem 0;
}

.about-sodalities {
    margin-top: 7rem;
}

.name-textarea {
    display:block;
    width: 100%;
    box-sizing: border-box;
    padding: 1em;
}

.description-textarea {
    display:block;
    width: 100%;
    min-width: 2rem;
    box-sizing: border-box;
}

.vscroll {
    overflow-y:auto;
}

.new-sodality-textarea {
    display:block;
    width: 100%;
    min-width: 2rem;
    box-sizing: border-box;
}

/* Normal community list items */
li.li-item,
li.li-item a,
li.li-item a:link,
li.li-item a:visited,
li.li-item a:hover,
li.li-item a:active {
    color: white;
    text-decoration: none;
}

li.li-item {
    margin: 0.25rem 0;
}

li.li-item a {
    display: block;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.4;
    padding: 0.65rem 0.75rem;
}

/* Only the selected item's link is underlined */
li.li-item.selected a,
li.li-item.selected a:link,
li.li-item.selected a:visited,
li.li-item.selected a:hover,
li.li-item.selected a:active {
    color: white;
    text-decoration: underline;
}

/* Default state: all community links are white and NOT underlined */
li.li-item a,
li.li-item a:link,
li.li-item a:visited,
li.li-item a:hover,
li.li-item a:active {
    color: white;
    text-decoration: none;
}

/* Selected LI styling */
li.li-item.selected {
    /* background-color: #44B78B; */
    color: white;
    font-weight: bold;
    border-radius: 5px;
    /* padding: 0.5rem; */
}

/* Selected link only: underlined */
li.li-item.selected a,
li.li-item.selected a:link,
li.li-item.selected a:visited,
li.li-item.selected a:hover,
li.li-item.selected a:active {
    color: white;
    text-decoration: underline;
}

/* Default state: all sidebar menu links are white and NOT underlined */
li.nav-item a,
li.nav-item a:link,
li.nav-item a:visited,
li.nav-item a:hover,
li.nav-item a:active {
    color: white;
    text-decoration: none;
}

.communities-nav .nav-item.active a,
.communities-nav ul:not(:has(.nav-item.active)) .nav-item:first-child a {
    text-decoration: underline;
    font-weight: bold;
}

/* Button Styling */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.5rem;
    width:auto;
    border-radius: 10px;

    font-size: 1rem;
    cursor:default;
    text-decoration: none;
    color: black;
    background-color: lightgray;
}

/* Keep the Submit button and Cancel link exactly the same size. */
.form-actions .form-submit,
.form-actions .form-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 125px;
    box-sizing: border-box;
    width: 125px;
    height: 2.25rem;
    padding: 0 0.5rem;
    border: 1px solid #767676;
    border-radius: 10px;
    margin: 0;
    font: inherit;
    line-height: 1;
    text-decoration: none;
}

.button-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;

    background-color: #0d6efd;
    color: white;

    border: 1px solid #0d6efd;
    border-radius: 6px;

    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;

    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.button-link:hover {
    background-color: #0b5ed7;
    color: white;
}

.button-link:active {
    transform: translateY(1px);
}

.button-link:focus-visible {
    outline: 3px solid #9ec5fe;
    outline-offset: 2px;
}

.confirmation-text,
.confirmation-link {
    font-size: 1rem;
}

.confirmation-link {
    text-decoration: underline;
    cursor: pointer;
}

.pad10 {
    padding: 10px 0px;
}

.pad10 a,
.pad10 a:link,
.pad10 a:visited,
.pad10 a:hover,
.pad10 a:active {
    color: white;
    text-decoration: none;
}

.new-community {
    width: min(100%, 800px);
    padding: 1rem;
}

.new-conversation-form-wrapper,
.new-community-form-wrapper{
    width: 100%;
    max-height: calc(100dvh - var(--top-nav-h) - 6rem);
    overflow-y: auto;
}

.new-conversation-form-wrapper .form-with-validation,
.new-community-form-wrapper .form-with-validation {
    width: 100%;
    height: auto;
    padding-bottom: 2rem;
}

.form-submit {
    display: block;
    margin-top: 1rem;

}

.text_align_center {
    text-align: center;
}

.language-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 8rem);
    padding: 3rem 1rem;
}

.language-card {
    width: 100%;
    max-width: 34rem;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #dce5df;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(25, 65, 45, 0.1);
}

.language-card-header {
    padding: 2rem;
    color: #ffffff;
    background-color: #236b45;
    text-align: center;
}

.language-card-header h1 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    line-height: 1.2;
}

.language-card-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.language-form {
    padding: 2rem;
}

.language-field {
    margin-bottom: 1.75rem;
}

.language-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #26352d;
    font-weight: 600;
}

.language-field select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 0.85rem;
    color: #1f2923;
    font: inherit;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #aebdb4;
    border-radius: 0.4rem;
}

.language-field select:focus {
    outline: none;
    border-color: #237a4b;
    box-shadow: 0 0 0 0.2rem rgba(35, 122, 75, 0.18);
}

.language-help {
    margin: 0.5rem 0 0;
    color: #5f6f65;
    font-size: 0.85rem;
}

.form-message,
.form-errors {
    margin-bottom: 1.25rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.35rem;
}

.form-message.success {
    color: #165c35;
    background-color: #e7f6ed;
    border-left: 0.25rem solid #237a4b;
}

.form-errors {
    color: #8c1d18;
    background-color: #fff0ef;
    border-left: 0.25rem solid #c9372c;
}

.form-errors p,
.form-errors ul {
    margin: 0;
}

.language-submit {
    width: 100%;
    padding: 0.8rem 1.25rem;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    background-color: #237a4b;
    border: 0;
    border-radius: 0.4rem;
    transition: background-color 0.2s ease;
}

.language-submit:hover {
    background-color: #185f39;
}

.language-submit:focus-visible {
    outline: 0.2rem solid rgba(35, 122, 75, 0.35);
    outline-offset: 0.15rem;
}



/* The scrolling container for the whole list*/
main.chat-view-main-class {
    height: calc(100dvh - var(--top-nav-h));
    overflow-y: auto;
    min-height: 0;
}

.chat-view-main-class {
    overflow-y: auto;
    height: 100%;
}

/*Each chat is a two column grid*/
.chat {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-areas:
        "header header"
        "posttext responses"
        "respondingto respondingto";
    gap: 0.2rem;
    margin-bottom: 0.75rem;
    overflow-wrap: anywhere;
}

/*Shared styling for the 4 boxes */
.grid {
    padding: 0.2rem;
    margin: 0.1rem;
    background-color:blue;
    border: 2px solid #44B78B;
}

/* Place each section by order */
.chat .grid:nth-child(1) {
    grid-area: header;
    /* height: 80px; */
}

.chat .grid:nth-child(2) {
    grid-area: posttext;
}

.chat .grid:nth-child(3) {
    grid-area: responses;
    overflow: auto;
    max-height: 30vh;
}

.chat .grid:nth-child(4) {
    grid-area: respondingto;
}

.chat-view-main-class ul,
.chat-view-main-class ol {
    list-style-position: inside;
    /* padding-left: 1.5rem; */
}

.chat-view-main-class ul {
    list-style-type: disc;
}

.chat-view-main-class ol {
    list-style-type: decimal;
}

.chat-view-main-class li {
    font-size: 1rem;
}

.chat-view-main-class li a {
    display: inline;
}

.chat-view-main-class li p {
    margin: 0;
    display: inline;
}
.chat-view-main-class li::marker {
    font-size: inherit;
}

.pl2 {
    padding-left: 1rem;
}

.grid li.pl2,
.grid li.pl2 a {
    color: white;
    text-decoration: none;
}

.post-text {
    overflow-wrap: anywhere;
    direction: auto;
    white-space: pre-wrap;
    unicode-bidi: plaintext;
    line-height: 1;
}

.thumbs-up,
.thumbs-down {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: large;
}

/* Explore page: maintain two columns */
.explore-container {
    display: grid;
    grid-template-columns: minmax(10rem, 30%) minmax(0, 70%);
    align-items: start;
    width: 100%;
    max-height: 75vh;
    overflow: hidden;
}

/* Override the shared item-list spacing */
.explore-community-list,
.explore-community-details {
    width: auto;
    min-width: 0;
    height: 70vh;
    margin: 0;
    padding: 1rem;
    overflow-y: auto;
}

.explore-community-list{
    border-right: 1px solid #555;
}

.explore-community-details {
    text-align: center;
}

.community-description {
    padding: 1rem 0;
    line-height: 1.6;
    overflow-wrap:break-word;
    text-align: left;
}

.join-community-button {
    display: inline-block;
    margin-top: 0.75rem;
}

@media (max-width: 36rem) {
    .language-page {
        padding: 1.5rem 0.75rem;
    }

    .language-card-header,
    .language-form {
        padding: 1.5rem;
    }

    .language-card-header h1 {
        font-size: 1.5rem;
    }
}

/* Larger Screens */
@media (min-width: 768px) {
    .item-list-30 {
        min-width: 320px;
    }
}

/* Small Phones */
@media (max-width: 600px) {
    main > h1 {
        font-size: 1.5rem;
    }

    .container {
        display: block;
    }

    .item-list {
        margin: 0;
        padding: 0.75rem;
    }

    .fixed-heading {
        font-size: 1.2rem;
    }

    li.li-item a{
        font-size: 1rem;
        padding: 0.75rem 0.5rem;
    }

    .explore-container {
        display: grid;
        grid-template-columns: minmax(7.5rem, 40%) minmax(0, 60%);
    }

    .explore-community-list,
    .explore-community-details {
        width: auto;
        margin: 0;
        padding: 0.5rem;
        font-size: 0.95rem;
    }

    .explore-container .fixed-heading {
        font-size: 1.05rem;
        line-height: 1.25rem;
        padding: 0.6rem 0.25rem;
        overflow-wrap: break-word;
    }

    .explore-container li.liitem a {
        font-size: 0.95rem;
        line-height: 1.3;
        padding: 0.65rem 0.25rem;
        overflow-wrap: break-word;
    }

    .community-description {
        padding: 0.75rem 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .join-community-button {
        width: 100%;
        padding: 0.65rem 0.4rem;
        text-align: center;
        font-size: 0.9rem;
    }
}

.item-main-class {
    height: 100%;
    width: 100%;
    /* overflow: hidden; */
    overflow: auto;
}

/* Conversation container */
.conversation {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.feedback-textarea {
    padding: 1em;
    display:block;
    width: 100%;
    box-sizing: border-box;
}

.chat-footer > a {
    color: white;
}

.new-conversation-link,
.new-conversation-link:link,
.new-conversation-link:visited,
.new-conversation-link:hover,
.new-conversation-link:active {
    color: white;
    text-decoration: underline;
}

.vote-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.4rem 0;
}

.vote-form{
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.vote-controls .vote-form .vote-button {
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    border: none;
    background: transparent;
    cursor: pointer;
}

.vote-button {
    width: 5px;;
}

.vote-form .vote-button:hover{
    background-color: rgba(0, 0,0, 0.08);
}

.thumb-icon{
    display: block;
    line-height: 1;
    transform: translateY(-2px)
}

.vote-controls{
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 60px;
}


/* Delete Community */
.delete-community-main-class {
    width: 100%;
    min-height: calc(100dvh - var(--top-nav-h));
    padding: 1rem;
}

.delete-community-main-class .container {
    width: 100%;
    max-height: none;
    min-height: calc(100dvh - var(--top-nav-h) - 2rem);
    padding: clamp(1rem, 5vh, 3rem) 0;
    align-items: flex-start;
}

.delete-community {
    width: min(100%, 38rem);
    padding: clamp(1.25rem, 4vw, 2rem);

    color: whitesmoke;
    background-color: #171717;

    border: 1px solid #444;
    border-radius: 12px;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.4);
}

.delete-community h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
    text-align: center;
}

.delete-warning {
    margin-bottom: 1.5rem;
    padding: 1rem;

    background-color: #2a1515;
    border: 1px solid #a94442;
    border-inline-start: 5px solid #dc3545;
    border-radius: 8px;
}

.delete-warning p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.delete-warning p:last-child {
    margin-bottom: 0;
}

.delete-warning strong {
    color: #ffffff;
    overflow-wrap: anywhere;
}

/* Deletion error returned by the view */
.delete-community .form-errors {
    display: block;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;

    color: #ffffff;
    background-color: #7a1f1f;

    border: 1px solid #ff8c8c;
    border-radius: 8px;
}

.delete-community .form-actions {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.delete-community .form-actions form {
    margin: 0;
}

/* Make the Delete button and Cancel link the same size */
.delete-community .delete-button,
.delete-community .cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 12rem;
    min-height: 2.75rem;
    padding: 0.6rem 1rem;
    margin: 0;

    border: 1px solid transparent;
    border-radius: 10px;

    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
}

/* Destructive action */
.delete-community .delete-button {
    color: #ffffff;
    background-color: #b42318;
    border-color: #dc3545;
}

.delete-community .delete-button:hover {
    background-color: #8f1c14;
}

.delete-community .delete-button:active {
    background-color: #71160f;
}

/* Safe cancel action */
.delete-community .cancel-button,
.delete-community .cancel-button:link,
.delete-community .cancel-button:visited {
    color: #111111;
    background-color: lightgray;
    border-color: #767676;
}

.delete-community .cancel-button:hover {
    color: #111111;
    background-color: #eeeeee;
}

.delete-community .cancel-button:active {
    background-color: #bdbdbd;
}

.delete-community .delete-button:focus-visible,
.delete-community .cancel-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* Stack the buttons on narrow screens */
@media (max-width: 420px) {
    .delete-community-main-class {
        padding: 0.75rem;
    }

    .delete-community-main-class .container {
        padding-top: 1rem;
    }

    .delete-community {
        padding: 1rem;
    }

    .delete-community .form-actions,
    .delete-community .form-actions form {
        width: 100%;
    }

    .delete-community .delete-button,
    .delete-community .cancel-button {
        width: 100%;
    }
}

/* Public account and data deletion request page */

.account-deletion-request-page {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: calc(100dvh - var(--top-nav-h));
    padding: 2rem 1rem;
}

.account-deletion-request-card {
    width: 100%;
    max-width: 48rem;
    padding: 2rem;

    color: whitesmoke;
    background-color: #171717;

    border: 1px solid #444;
    border-radius: 12px;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.4);
}

.account-deletion-request-header {
    margin-bottom: 2rem;
    text-align: center;
}

.account-deletion-request-header h1 {
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-size: clamp(1.6rem, 5vw, 2.25rem);
    line-height: 1.2;
}

.account-deletion-request-header p {
    color: #d9d9d9;
}

.deletion-request-information {
    margin-bottom: 2rem;
}

.deletion-request-information h2 {
    margin: 1.5rem 0 0.5rem;
    color: #ffffff;
    font-size: 1.25rem;
}

.deletion-request-information p {
    margin-bottom: 1rem;
}

.deletion-request-information ul {
    margin: 0 0 1rem 1.5rem;
}

.deletion-request-information li {
    margin-bottom: 0.35rem;
}

.deletion-request-warning {
    margin: 1.5rem 0;
    padding: 1rem;

    background-color: #2a2415;
    border: 1px solid #b98b2f;
    border-inline-start: 5px solid #e0a93a;
    border-radius: 8px;
}

.deletion-request-warning h2 {
    margin-top: 0;
}

.account-deletion-request-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.deletion-request-field label,
.deletion-request-options legend {
    display: block;
    margin-bottom: 0.5rem;

    color: #ffffff;
    font-weight: bold;
}

.deletion-request-field input,
.deletion-request-field textarea {
    width: 100%;
    padding: 0.75rem;

    color: #111111;
    background-color: #ffffff;

    border: 1px solid #aebdb4;
    border-radius: 6px;

    font: inherit;
}

.deletion-request-field textarea {
    min-height: 9rem;
    resize: vertical;
}

.deletion-request-field input:focus,
.deletion-request-field textarea:focus {
    outline: none;
    border-color: #44b78b;
    box-shadow: 0 0 0 0.2rem rgba(68, 183, 139, 0.25);
}

.deletion-request-options {
    padding: 1rem;

    border: 1px solid #555;
    border-radius: 8px;
}

.deletion-request-options ul {
    list-style: none;
}

.deletion-request-options li {
    margin-bottom: 0.75rem;
}

.deletion-request-options label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}

.deletion-request-options input {
    margin-top: 0.3rem;
}

.deletion-request-confirmation {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
}

.deletion-request-confirmation input {
    margin-top: 0.35rem;
}

.deletion-request-confirmation label {
    cursor: pointer;
}

.deletion-request-help {
    margin-top: 0.4rem;
    color: #c7c7c7;
    font-size: 0.9rem;
}

.deletion-request-errors,
.deletion-request-field-error {
    margin-top: 0.5rem;
    padding: 0.65rem 0.8rem;

    color: #ffffff;
    background-color: #7a1f1f;

    border: 1px solid #ff8c8c;
    border-radius: 6px;
}

.deletion-request-field-error ul {
    list-style: none;
}

.deletion-request-success {
    margin: 1.5rem 0;
    padding: 1.25rem;

    color: #dff7e8;
    background-color: #123c27;

    border: 1px solid #44b78b;
    border-inline-start: 5px solid #44b78b;
    border-radius: 8px;
}

.deletion-request-success h2 {
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.deletion-request-success p {
    margin-bottom: 0.75rem;
}

.deletion-request-success p:last-child {
    margin-bottom: 0;
}

.deletion-request-submit {
    width: 100%;
    padding: 0.85rem 1.25rem;

    color: #ffffff;
    background-color: #237a4b;

    border: 0;
    border-radius: 8px;

    font: inherit;
    font-weight: bold;

    cursor: pointer;
}

.deletion-request-submit:hover {
    background-color: #185f39;
}

.deletion-request-submit:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.deletion-request-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;

    border-top: 1px solid #444;
    text-align: center;
}

.deletion-request-footer p {
    margin-bottom: 0.75rem;
}

.deletion-request-footer a,
.deletion-request-footer a:link,
.deletion-request-footer a:visited {
    color: #8ed9bb;
    text-decoration: underline;
}

.deletion-request-footer a:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .account-deletion-request-page {
        padding: 1rem 0.75rem;
    }

    .account-deletion-request-card {
        padding: 1.25rem;
    }
}

.doc a,
.doc a:link,
.doc a:visited {
    color: #8ed9bb;
    text-decoration: underline;
}

.doc a:hover {
    color: #ffffff;
}


.delete-conversation-form {
    margin-top: 1rem;
}

.delete-button {
    /* background-color: #b42318; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
}

.delete-button:hover,
.delete-button:focus {
    background-color: #8f1c13;
}

.delete-conversation-form {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.75rem;
}

.delete-conversation-form .delete-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    cursor: pointer;
}

.registration-consent a,
.registration-consent a:visited,
.registration-consent a:hover,
.registration-consent a:focus,
.registration-consent a:active {
    color: #fff;
}

.item-list-disc ul {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding-inline-start: 1.5rem;

    list-style-position: outside;
    list-style-type: disc;
}

.item-list-disc li {
    text-align: left;
}

.item-list-disc li.li-item > a {
    display: block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

a.button.change-priority-button,
a.button.change-priority-button:link,
a.button.change-priority-button:visited {
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.conversation-owner-actions{
    display: flex;
    flex-direction: column;
}

.item-list-disc li.li-item {
    margin: 0;
}

.item-list-disc li.li-item > a {
    padding: 0.1rem 0.5rem;
    line-height: 1.25;
}

li.li-snippet > a {
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

li.li-snippet > a:hover,
li.li-snippet > a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

