body {
    font-family: Poppins, Helvetica, "sans-serif";
    background-color: #EEF0F8;
}

nav {
    box-shadow: 1px 1px 1px 1px #0000001A;
    padding: 20px 5px 16px 12px;
    width: 100%;
    margin: -10px -10px 10px -10px;
    background-color: white
}

.brand-logo:hover,
.brand-logo:focus {
    text-decoration: none !important;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

    .brand-logo img {
        display: block; /* removes baseline gap */
        max-width: 140px;
    }

.title {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #000;
    border-left: 1px solid #0000006e;
    padding-left: 10px;
    font-weight: 500;
}

.brand-logo:hover .title {
    color: #000;
}
.main-unsub {
    width: 56%;
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 1px 2px 5px 1px #0000001A;
    border-radius: 6px;
    margin: 10px auto;
}
.unsub-table{
    margin:0;
}
#header3 h2 {
      margin: 14px 2px 21px 2px;
        font-size: 24px;
        font-family: Poppins, Helvetica, sans-serif;
        font-weight: 500;
        padding-bottom: 18px;
        border-bottom: 1px solid #0000001c;
}


.unsub-table td {
    font-size: 1rem;
    font-weight: 400;
    color: #363844;
    padding: 6px 0px;
    border-bottom: 1px solid #00000014;
}
.unsub-table tr {
    border-bottom: 1px solid #00000014;
}
.unsub-table tr td:nth-child(1),
.unsub-table tr td:nth-last-child(1) {
    border-bottom: none;
}
.sender-email {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}
.radio-table {
    margin-top: 10px;
    margin-left: 20px;
}

.radio-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    margin-right: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
    user-select: none;
}


    .radio-card input[type="radio"] {
        accent-color: #007dc5; 
        transform: scale(1.1);
    }


    .radio-card:hover {
        border-color: #007dc5;
        background-color: #f8fbff;
    }

 
    .radio-card input[type="radio"]:checked + .radio-text {
        font-weight: 600;
        color: #007dc5;
    }


.radio-text {
    font-size: 15px;
    color: #333;
}
.beauty-dropdown {
    width: 100%;
    min-width: 260px;
    padding: 10px 40px 10px 12px;
    font-size: 15px;
    color: #333;
    background-color: #fff;
    border: 1px solid #b9b3b3;
    border-radius: 6px;
    appearance: none;  remove default arrow 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    cursor: pointer;
}

    
    .beauty-dropdown:focus {
        outline: none;
        border-color: #007dc5;
        box-shadow: 0 0 0 2px rgba(0, 125, 197, 0.15);
    }
    .beauty-dropdown:disabled {
        background-color: #f1f3f5;
        cursor: not-allowed;
    }
.beauty-textarea {
    width: 91%;
    min-width: 255px;
    padding: 10px 12px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    resize: vertical; /* user can resize vertically only */
    line-height: 1.5;
}

/* Focus state */
.beauty-textarea:focus {
    outline: none;
    border-color: #007dc5;
    box-shadow: 0 0 0 2px rgba(0, 125, 197, 0.15);
}

/* Disabled / readonly (future-proof) */
.beauty-textarea:disabled,
.beauty-textarea[readonly] {
    background-color: #f1f3f5;
    cursor: not-allowed;
}
.action-cell {
    padding-top: 16px;
}

.btn-elegant {
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background-color: #007dc5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}


    .btn-elegant:hover {
        background-color: #0062a0;
    }

 
    .btn-elegant:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 125, 197, 0.2);
    }


    .btn-elegant:disabled {
        background-color: #9bbbd3;
        cursor: not-allowed;
    }
.char-counter {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-unsub {
        width: 95%;
        padding: 15px;
    }

    .title {
        font-size: 18px;
    }

    .unsub-table td {
        font-size: 14px;
        padding: 6px 4px;
    }

    .beauty-textarea,
    .beauty-dropdown {
        font-size: 14px;
    }

    .radio-card {
        flex: 1 1 100%;
        min-width: auto;
    }

    .action-cell {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    /* Main unsubscribe table */
    .unsub-table,
    .unsub-table tbody,
    .unsub-table tr,
    .unsub-table td {
        display: block;
        width: 100%;
    }

        .unsub-table tr {
            margin-bottom: 14px;
        }

        .unsub-table td {
            border-bottom: none;
            padding: 6px 0;
        }

        /* Inner tables */
        .unsub-table table,
        .unsub-table table tbody,
        .unsub-table table tr,
        .unsub-table table td {
            display: block;
            width: 100%;
        }

    /* Inputs full width */
    .beauty-textarea,
    .beauty-dropdown {
        width: 100%;
    }

    /* Radio buttons stack nicely */
    .radio-table {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: 0;
    }

    .radio-card {
        width: 100%;
        justify-content: flex-start;
    }

    /* Buttons full width */
    .btn-elegant {
        width: 100%;
    }

    /* Header spacing */
    #header3 h2 {
        font-size: 20px;
    }
}

