* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    background: #eeeae4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    margin: auto;
    background: #ffffff;
    padding: 45px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.logo-area {
    text-align: center;
    margin-bottom: 35px;
}

.logo-area h1 {
    color: #292622;
    font-size: 24px;
    margin-bottom: 8px;
}

.logo-area p {
    color: #b69b72;
    font-size: 16px;
}

.login-card h2 {
    text-align: center;
    color: #292622;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #292622;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #b69b72;
    box-shadow: 0 0 0 3px rgba(182, 155, 114, 0.15);
}

button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #292622;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #b69b72;
}

.error-message {
    background: #f8d7da;
    color: #842029;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}
/* ================================
   ADMIN DASHBOARD
================================ */

body {
    background: #eeeae4;
    color: #292622;
}

.dashboard {
    min-height: 100vh;
}


/* HEADER */

.dashboard-header {
    background: #292622;
    color: white;
    padding: 22px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.dashboard-header p {
    color: #b69b72;
    font-size: 14px;
}

.logout-btn {
    text-decoration: none;
    color: white;
    border: 1px solid #b69b72;
    padding: 10px 18px;
    border-radius: 8px;
    transition: 0.3s;
}

.logout-btn:hover {
    background: #b69b72;
}


/* CONTENT */

.dashboard-content {
    width: 90%;
    max-width: 1400px;
    margin: 35px auto;
}

.welcome {
    margin-bottom: 30px;
}

.welcome h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.welcome p {
    color: #777;
}


/* STATISTICS */

.statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: #eeeae4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.stat-card span {
    display: block;
    color: #777;
    font-size: 14px;
    margin-bottom: 5px;
}

.stat-card strong {
    font-size: 27px;
    color: #292622;
}


/* ORDERS */

.orders-section {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    margin-bottom: 6px;
}

.section-title p {
    color: #777;
    font-size: 14px;
}


/* TABLE */

.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

thead {
    background: #292622;
    color: white;
}

th,
td {
    padding: 15px 12px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

th {
    font-size: 14px;
    font-weight: 600;
}

td {
    font-size: 14px;
}

tbody tr:hover {
    background: #faf8f5;
}

.order-number {
    color: #b69b72;
    font-weight: bold;
}

.view-btn {
    display: inline-block;
    text-decoration: none;
    background: #292622;
    color: white;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 13px;
    transition: 0.3s;
}

.view-btn:hover {
    background: #b69b72;
}

.empty {
    text-align: center;
    padding: 40px;
    color: #888;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .statistics {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-content {
        width: 94%;
    }

    .orders-section {
        padding: 20px;
    }

}
/* ================================
   ORDER DETAILS
================================ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-btn {
    text-decoration: none;
    color: white;
    background: #b69b72;
    padding: 10px 18px;
    border-radius: 8px;
    transition: 0.3s;
}

.back-btn:hover {
    background: white;
    color: #292622;
}


.order-page-title {
    margin-bottom: 25px;
}

.order-page-title h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.order-page-title p {
    color: #777;
}

.order-page-title strong {
    color: #b69b72;
}


/* DETAILS CARD */

.details-card {
    background: white;
    border-radius: 18px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.details-card-header {
    background: #292622;
    color: white;
    padding: 20px 25px;
}

.details-card-header h3 {
    font-size: 18px;
}


/* DETAILS GRID */

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.detail-item {
    padding: 22px 25px;
    border-bottom: 1px solid #eee;
}

.detail-item:nth-child(odd) {
    border-left: 1px solid #eee;
}

.detail-item span {
    display: block;
    color: #888;
    font-size: 13px;
    margin-bottom: 8px;
}

.detail-item strong {
    display: block;
    color: #292622;
    font-size: 15px;
    line-height: 1.7;
}

.full-width {
    grid-column: 1 / -1;
}

.coming-soon {
    text-align: center;
    padding: 55px 20px;
}

.coming-soon > div {
    font-size: 40px;
    margin-bottom: 15px;
}

.coming-soon h3 {
    margin-bottom: 10px;
}

.coming-soon p {
    color: #888;
}


/* MOBILE */

@media (max-width: 700px) {

    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions a {
        text-align: center;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .detail-item:nth-child(odd) {
        border-left: none;
    }

    .full-width {
        grid-column: auto;
    }

}