* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #fff8ef;
    color: #2b1a1a;
}

.top-header {
    background: #ffffff;
    border-bottom: 4px solid #c9993a;
    box-shadow: 0 6px 20px rgba(201,153,58,0.28);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand img {
    height: 76px;
}

.brand h1 {
    margin: 0;
    color: #7a1020;
    font-family: Georgia, serif;
    font-size: 30px;
}

.brand p {
    margin: 6px 0 0;
    color: #b6862e;
    font-size: 13px;
}

.main-nav {
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: #7a1020;
    text-decoration: none;
    font-weight: 600;
}

.main-nav a:hover {
    color: #c9993a;
}

.premium-hero {
    min-height: 70vh;
    padding: 80px 30px;
    text-align: center;
    background: linear-gradient(rgba(255,248,239,0.88), rgba(255,248,239,0.95));
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    padding: 55px 35px;
    border-radius: 28px;
    border: 1px solid #f1d99b;
    box-shadow: 0 24px 70px rgba(122,16,32,0.18);
}

.hero-content h1 {
    font-family: Georgia, serif;
    font-size: 64px;
    color: #7a1020;
    margin: 0 0 20px;
}

.telugu-line {
    color: #b6862e;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero-main-text {
    font-family: Georgia, serif;
    font-size: 34px;
    margin: 15px 0;
}

.hero-sub-text {
    font-size: 22px;
    color: #6b4b4b;
}

.brand-highlight {
    color: #7a1020;
    font-weight: bold;
}

.btn {
    background: #7a1020;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    font-weight: 600;
}

.btn:hover {
    background: #c9993a;
}

.btn-gold {
    background: #c9993a;
}

.feature-section {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 0 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 22px;
    border-top: 6px solid #c9993a;
    box-shadow: 0 14px 38px rgba(0,0,0,0.08);
    text-align: center;
}

.feature-card h3 {
    color: #7a1020;
    font-family: Georgia, serif;
}

.site-footer {
    background: #ffffff;
    border-top: 4px solid #c9993a;
    text-align: center;
    padding: 14px;
    color: #6b4b4b;
}
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropbtn {
    background: #7a1020;
    color: #ffffff;
    padding: 10px 18px;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.user-dropbtn:hover {
    background: #c9993a;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 48px;

    background: #ffffff;

    min-width: 220px;

    border-radius: 12px;

    border: 1px solid #f1e2c7;

    box-shadow: 0 12px 30px rgba(0,0,0,0.15);

    overflow: hidden;

    z-index: 99999;
}

.user-dropdown-content.show {
    display: block;
}

.user-dropdown-content a {
    display: block;

    padding: 14px 18px;

    color: #7a1020;

    text-decoration: none;

    font-weight: 600;

    border-bottom: 1px solid #f5ead4;

    transition: 0.2s;
}

.user-dropdown-content a:last-child {
    border-bottom: none;
}

.user-dropdown-content a:hover {
    background: #fff8ef;
    color: #c9993a;
}
/* LOGIN + REGISTER FORMS */

.form-box {
    max-width: 520px;
    margin: 60px auto;
    background: #ffffff;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    border-top: 5px solid #c9993a;
}

.form-box h2 {
    margin-top: 0;
    color: #7a1020;
    font-family: Georgia, serif;
    font-size: 36px;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #6b4b4b;
    margin-bottom: 28px;
    font-size: 16px;
}

.form-box label {
    display: block;
    margin-bottom: 8px;
    color: #7a1020;
    font-weight: 600;
}

.form-box input,
.form-box select,
.form-box textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;

    border: 1px solid #d8c8bb;
    border-radius: 10px;

    font-size: 15px;

    transition: 0.2s;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
    outline: none;
    border-color: #c9993a;
    box-shadow: 0 0 0 4px rgba(201,153,58,0.15);
}

.form-box button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.form-footer-link {
    margin-top: 20px;
    text-align: center;
    color: #6b4b4b;
}

.form-footer-link a {
    color: #7a1020;
    font-weight: 700;
    text-decoration: none;
}

.form-footer-link a:hover {
    color: #c9993a;
}

.message-error {
    background: #fff1f1;
    color: #a40018;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #a40018;
}

.message-success {
    background: #ecfff2;
    color: #157a3c;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #157a3c;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 14px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .feature-section {
        grid-template-columns: 1fr;
    }
}
.premium-hero {
    min-height: 78vh;
    padding: 70px 30px;
    background:
        linear-gradient(rgba(255,248,239,0.80), rgba(255,248,239,0.92)),
        url('/assets/images/weddingbg.png');

    background-size: cover;
    background-position: center;

    border-bottom: 3px solid #c9993a;

    display: grid;
    grid-template-columns: 220px minmax(320px, 820px) 220px;

    gap: 35px;

    align-items: center;
    justify-content: center;
}

.hero-image {
    border-radius: 24px;
    overflow: hidden;

    box-shadow: 0 18px 45px rgba(0,0,0,0.18);

    border: 3px solid rgba(201,153,58,0.55);

    background: #ffffff;
}

.hero-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.hero-image-left {
    transform: rotate(-3deg);
}

.hero-image-right {
    transform: rotate(3deg);
}

.hero-content {
    text-align: center;

    padding: 52px 42px;

    background: rgba(255,255,255,0.94);

    border-radius: 30px;

    border: 1px solid #f1d99b;

    box-shadow: 0 24px 70px rgba(122,16,32,0.20);
}
/* PANIGRAHANAM PROFILE + DASHBOARD PAGES */
.page-shell {
    max-width: 1180px;
    margin: 45px auto 70px;
    padding: 0 24px;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.page-heading h2,
.content-card h2 {
    margin: 0 0 8px;
    color: #7a1020;
    font-family: Georgia, serif;
    font-size: 36px;
}

.page-heading p { margin: 0; color: #6b4b4b; }

.content-card,
.empty-card,
.info-card,
.profile-preview,
.form-section,
.dashboard-card {
    background: #fff;
    border: 1px solid #f0dfbd;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
}

.content-card,
.empty-card,
.info-card { padding: 28px; }

.profile-form { display: grid; gap: 22px; }
.form-section { padding: 26px; }
.form-section h3 { margin: 0 0 22px; color: #7a1020; font-family: Georgia, serif; font-size: 24px; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.form-grid .span-2 { grid-column: 1 / -1; }
.profile-form label { display: block; margin-bottom: 7px; font-weight: 700; color: #6e1521; }
.profile-form input,
.profile-form select,
.profile-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d8c8bb;
    border-radius: 10px;
    font: inherit;
    background: #fff;
}
.profile-form textarea { resize: vertical; }
.profile-form input:focus,
.profile-form select:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: #c9993a;
    box-shadow: 0 0 0 3px rgba(201,153,58,.14);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}
.checkbox-grid label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: #4d3434; }
.checkbox-grid input { width: auto; margin-top: 3px; }

.form-actions,
.dashboard-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-actions { justify-content: flex-end; }
.form-actions .btn { border: 0; cursor: pointer; }
.btn-outline { background: #fff; color: #7a1020; border: 1px solid #7a1020 !important; }
.btn-outline:hover { color: #fff; }

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}
.dashboard-card { padding: 24px; }
.dashboard-card strong { display: block; margin-top: 8px; font-size: 22px; color: #7a1020; }
.small-label { color: #8b7777; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.info-card { margin-bottom: 20px; }

.status-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: capitalize;
}
.status-draft { background: #f3efe9; color: #6b5a4d; }
.status-submitted { background: #fff4ce; color: #7a5b00; }
.status-approved { background: #e8f8ee; color: #1f6d3c; }
.status-rejected { background: #fde9e9; color: #9e1c2f; }
.status-hidden { background: #ededed; color: #555; }

.profile-preview { overflow: hidden; }
.profile-preview-header { padding: 26px; border-bottom: 1px solid #f0dfbd; }
.profile-preview-header h3 { margin: 12px 0 0; color: #7a1020; font-family: Georgia, serif; font-size: 30px; }
.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.detail-item { padding: 17px 22px; border-bottom: 1px solid #f3ead8; }
.detail-item:nth-child(odd) { border-right: 1px solid #f3ead8; }
.detail-item span { display: block; color: #8b7777; font-size: 13px; margin-bottom: 5px; }
.detail-item strong { color: #352424; }
.text-detail { padding: 22px; border-top: 1px solid #f3ead8; }
.text-detail h4 { margin: 0 0 8px; color: #7a1020; }
.text-detail p { margin: 0; line-height: 1.65; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: 16px; border: 1px solid #f0dfbd; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.admin-table th, .admin-table td { padding: 15px; border-bottom: 1px solid #f2e7d4; text-align: left; vertical-align: top; }
.admin-table th { background: #fff8ef; color: #7a1020; }
.inline-actions { display: flex; gap: 7px; }
.mini-btn { border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer; font-weight: 700; }
.mini-btn.approve { background: #e7f7ed; color: #176739; }
.mini-btn.reject { background: #fde9e9; color: #94152a; }

@media (max-width: 768px) {
    .page-heading { align-items: flex-start; flex-direction: column; }
    .form-grid, .checkbox-grid, .dashboard-grid, .details-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: auto; }
    .detail-item:nth-child(odd) { border-right: 0; }
}
/* =========================================================
   PANIGRAHANAM - PREMIUM PROFILE REGISTRATION
   ========================================================= */

body {
    background: #fffaf3;
}

/* Main profile page */
.profile-form-shell {
    max-width: 1180px;
    margin: 45px auto 80px;
    padding: 0 28px;
}

/* ---------------------------------------------------------
   PAGE TITLE AREA
--------------------------------------------------------- */

.profile-form-shell .page-heading {
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    padding: 34px 38px;
    margin-bottom: 32px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fff8ed 100%
        );

    border: 1px solid #efd8aa;
    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(83, 26, 30, 0.08);
}

/* gold accent */
.profile-form-shell .page-heading::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 7px;
    height: 100%;

    background: linear-gradient(
        #8b0f22,
        #d7a53a
    );
}

.profile-form-shell .page-heading h2 {
    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.2;

    color: #831326;
}

.profile-form-shell .page-heading p {
    margin: 0;

    font-size: 16px;
    color: #77605c;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   PROFILE FORM
--------------------------------------------------------- */

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Individual section cards */
.profile-form .form-section {
    position: relative;

    padding: 32px 34px 36px;

    background: #ffffff;

    border: 1px solid #ead9c1;
    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(60, 22, 25, 0.055);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.profile-form .form-section:hover {
    border-color: #dfbf7e;

    box-shadow:
        0 16px 42px rgba(76, 25, 30, 0.08);
}

/* Section titles */
.profile-form .form-section h3 {
    margin: 0 0 28px;
    padding-bottom: 16px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;

    color: #811426;

    border-bottom: 1px solid #f0dfc2;
}

/* small decorative line */
.profile-form .form-section h3::after {
    content: "";

    display: block;

    width: 58px;
    height: 3px;

    margin-top: 14px;

    border-radius: 30px;

    background: linear-gradient(
        90deg,
        #8c1024,
        #d6a037
    );
}

/* ---------------------------------------------------------
   FORM GRID
--------------------------------------------------------- */

.profile-form .form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 28px;
    row-gap: 23px;
}

.profile-form .form-grid .span-2 {
    grid-column: 1 / -1;
}

/* ---------------------------------------------------------
   LABELS
--------------------------------------------------------- */

.profile-form label {
    display: block;

    margin-bottom: 8px;

    color: #482c30;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.01em;
}

/* ---------------------------------------------------------
   INPUTS
--------------------------------------------------------- */

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="date"],
.profile-form input[type="number"],
.profile-form input[type="tel"],
.profile-form select,
.profile-form textarea {

    display: block;

    width: 100%;
    box-sizing: border-box;

    min-height: 48px;

    padding: 12px 14px;

    font-family: inherit;
    font-size: 15px;

    color: #3b292b;

    background: #fffdf9;

    border: 1px solid #d9cbbf;

    border-radius: 11px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

/* Select dropdown */
.profile-form select {
    cursor: pointer;
}

/* Text areas */
.profile-form textarea {
    min-height: 110px;

    line-height: 1.6;

    resize: vertical;
}

/* Placeholder */
.profile-form input::placeholder,
.profile-form textarea::placeholder {
    color: #aa9993;
}

/* Focus */
.profile-form input:focus,
.profile-form select:focus,
.profile-form textarea:focus {

    border-color: #c99a38;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(201, 154, 56, 0.13);
}

/* required */
.profile-form input:required,
.profile-form select:required {
    border-left: 3px solid #a0172b;
}

/* ---------------------------------------------------------
   PARTNER PREFERENCE CHECKBOXES
--------------------------------------------------------- */

.profile-form .checkbox-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;

    margin: 28px 0;
}

.profile-form .checkbox-grid label {

    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin: 0;

    padding: 15px 16px;

    background: #fffaf2;

    border: 1px solid #eadbc0;

    border-radius: 12px;

    color: #52383b;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}

.profile-form .checkbox-grid label:hover {

    background: #fff5e4;

    border-color: #d9b666;

    transform: translateY(-1px);
}

.profile-form .checkbox-grid input[type="checkbox"] {

    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    margin-top: 1px;

    accent-color: #8b1024;

    cursor: pointer;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.profile-form-shell .btn {

    display: inline-flex;

    justify-content: center;
    align-items: center;

    min-height: 46px;

    padding: 11px 26px;

    border-radius: 999px;

    border: none;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;

    background: linear-gradient(
        135deg,
        #970f27,
        #77101f
    );

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(126, 16, 34, 0.19);
}

.profile-form-shell .btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 11px 24px rgba(126, 16, 34, 0.25);
}

/* Dashboard/save draft */
.profile-form-shell .btn-outline {

    color: #861126;

    background: #ffffff;

    border: 1.5px solid #9a1a2d !important;

    box-shadow: none;
}

.profile-form-shell .btn-outline:hover {

    color: #ffffff;

    background: #8d1125;
}

/* Bottom button area */
.profile-form .form-actions {

    display: flex;

    justify-content: flex-end;

    gap: 14px;

    padding: 8px 0 20px;
}

.profile-form .form-actions button {

    min-width: 170px;

    min-height: 50px;

    font-size: 15px;
}

/* Submit button gold accent */
.profile-form .form-actions button[value="submit"] {

    background: linear-gradient(
        135deg,
        #941329,
        #75101f
    );
}

/* ---------------------------------------------------------
   ERRORS
--------------------------------------------------------- */

.profile-form-shell .message-error {

    padding: 16px 18px;

    margin-bottom: 25px;

    background: #fff0f1;

    color: #901326;

    border: 1px solid #f1c5ca;
    border-left: 5px solid #97152a;

    border-radius: 12px;
}

/* ---------------------------------------------------------
   SMALL PROFILE INFORMATION STRIP
--------------------------------------------------------- */

.profile-form::before {

    content:
        "Complete each section carefully • You can save your profile and continue later";

    display: block;

    padding: 14px 20px;

    margin-bottom: -7px;

    border-radius: 12px;

    background: #fff5df;

    border: 1px solid #ecd19d;

    color: #725827;

    font-size: 14px;
    font-weight: 600;
}

/* ---------------------------------------------------------
   RESPONSIVE TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .profile-form-shell {
        padding: 0 18px;
    }

    .profile-form-shell .page-heading {

        align-items: flex-start;
        flex-direction: column;

        padding: 28px;
    }

    .profile-form-shell .page-heading h2 {
        font-size: 31px;
    }
}

/* ---------------------------------------------------------
   RESPONSIVE MOBILE
--------------------------------------------------------- */

@media (max-width: 700px) {

    .profile-form-shell {

        margin-top: 25px;

        padding: 0 12px;
    }

    .profile-form-shell .page-heading {

        padding: 24px 22px;

        border-radius: 18px;
    }

    .profile-form-shell .page-heading h2 {

        font-size: 28px;
    }

    .profile-form .form-section {

        padding: 24px 19px;

        border-radius: 17px;
    }

    .profile-form .form-section h3 {

        font-size: 21px;
    }

    .profile-form .form-grid,
    .profile-form .checkbox-grid {

        grid-template-columns: 1fr;
    }

    .profile-form .form-grid .span-2 {

        grid-column: auto;
    }

    .profile-form .form-actions {

        flex-direction: column;
    }

    .profile-form .form-actions button {

        width: 100%;
    }
}