@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --bg: #FFF5F4;
    --card: #FFFFFF;
    --text: #4A3A3A;
    --muted: #8F7D7D;

    --accent: #D6A7A1;
    --accent-dark: #C08C86;

    --border-light: #f1dfdc;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: url('/assets/bg.png') no-repeat center center fixed;
    background-size: cover;
}


.tiloff-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(214, 167, 161, 0.25);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.06),
        0 4px 12px rgba(214,167,161,0.15);
    max-width: 720px;
    margin: 50px auto;
}



.tiloff-nav {
    width: 100%;
    background: #111;
    padding: 14px 0;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 70px;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    letter-spacing: 0.4px;
    color: #e1e1e1;            
    transition: 0.25s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #524d4d;
    border-bottom: 2px solid #d6a7a1;
}

.burger {
    width: 26px;
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger div {
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #111;
    padding: 20px;
    border-top: 1px solid #333;
}

.mobile-menu a {
    color: #3f3c3c;
    padding: 10px 0;
    font-size: 17px;
    text-decoration: none;
    border-bottom: 1px solid #2a2a2a;
}

.mobile-menu a.active {
    color: #fff;
}

.mobile-menu.active {
    display: flex;
}


@media (max-width: 768px) {
    .nav-menu { display: none; }
    .burger { display: flex; }
}


.title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.subtitle {
    text-align: center;
    color: #c06060;
    margin-bottom: 32px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--accent-dark);
}


.logo {
    width: 320px;
    max-width: 90%;
    display: block;
    margin: 30px auto 20px;
}




.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

input, select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--accent);
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
}

.form-row-2 {
    display: flex;
    gap: 20px;
}

.form-row-2 .form-group {
    flex: 1;
}


.divider {
    border: none;
    height: 1px;
    background: var(--border-light);
    margin: 25px 0;
}


.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--accent-dark);
}


.table-card {
    background: var(--card);
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(214,167,161,0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    font-weight: 600;
    padding: 12px;
    color: var(--accent-dark);
    border-bottom: 1px solid var(--border-light);
}

td {
    padding: 12px;
    border-bottom: 1px solid var(--border-light);
}

tr:hover {
    background: #fff7f6;
}


.btn-small {
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.btn-small:hover {
    background: var(--accent-dark);
}

.logout {
    float: right;
    color: #c06060;
    text-decoration: none;
    font-weight: 600;
}


.block {
    background: white;
    padding: 18px 22px;
    margin-bottom: 14px;
    border-radius: 14px;
    border-left: 6px solid var(--accent);
    box-shadow: 0 4px 16px rgba(214,167,161,0.15);
}

.label {
    font-weight: 600;
    color: var(--accent-dark);
}

.value {
    margin-top: 4px;
    font-size: 16px;
}


.btn-back, .btn-pdf, .btn-csv {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    margin-right: 12px;
}

.btn-pdf {
    background: var(--accent);
}

.btn-csv {
    background: var(--accent-dark);
}

.btn-back {
    background: #999;
}



@media (max-width: 768px) {


    body {
        padding: 0;
        margin: 0;
        font-size: 16px;
    }

    h1 { font-size: 32px !important; line-height: 1.2; }
    h2 { font-size: 26px !important; }
    h3 { font-size: 20px !important; }

    .title { font-size: 28px !important; }


    .hero {
        padding: 70px 20px 90px;
        text-align: center;
        background-size: cover;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero .btn-main {
        padding: 14px 26px;
        font-size: 16px;
    }


    .nav-menu {
        display: none;
    }

    .burger {
        display: block;
        cursor: pointer;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        background: rgba(231, 228, 228, 0.9);
        backdrop-filter: blur(14px);
        padding: 20px;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        padding: 14px 0;
        font-size: 18px;
        text-align: center;
    }


    .features,
    .types {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .feature-card,
    .type-card {
        padding: 20px;
    }


    .form-group input,
    .form-group select {
        font-size: 16px;
        padding: 14px;
        border-radius: 14px;
    }

    .btn-submit {
        padding: 14px 22px;
        font-size: 16px;
    }

    .thank-container {
        margin: 80px 20px;
        padding: 26px;
    }

    .dashboard {
        grid-template-columns: 1fr !important;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    th { display: none; }

    tr {
        background: #fff;
        border-radius: 16px;
        padding: 14px;
        margin-bottom: 14px;
        box-shadow: 0 6px 20px rgba(214,167,161,0.20);
    }

    td {
        padding: 8px 0;
    }

    td::before {
        content: attr(data-label);
        font-weight: 700;
        margin-bottom: 3px;
        color: var(--accent-dark);
        display: block;
    }

    .btn-small {
        padding: 10px 16px;
        border-radius: 12px;
        font-size: 15px;
        display: inline-block;
    }

    .admin-header {
        justify-content: center !important;
        margin-bottom: 20px;
    }

    .admin-header img {
        height: 60px;
    }

    .logout {
        margin-top: 14px;
        display: inline-block;
        text-align: center;
    }

    .card {
        padding: 22px !important;
        border-radius: 20px !important;
    }

    .value {
        font-size: 16px !important;
    }

    .note-box {
        height: 100px;
    }
}



@media (max-width: 600px) {

    .tiloff-container {
        padding: 28px 18px;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }

    .title {
        font-size: 26px;
    }

    .section-title {
        font-size: 20px;
    }

    input, select {
        padding: 12px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 16px;
        border-radius: 14px;
    }

    .form-row-2 {
        flex-direction: column;
        gap: 12px;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }
    th { display: none; }
    tr {
        margin-bottom: 14px;
        padding: 18px;
        border-radius: 14px;
        border: 1px solid var(--border-light);
        background: white;
    }
    td {
        border: none;
        padding: 6px 0;
    }
    td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--accent-dark);
        display: block;
        margin-bottom: 2px;
    }
}

.nav-menu a.active,
.mobile-menu a.active {
    color: #D6A7A1;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 6px;
}

