/* Admin - Summer of Love Stijl */

.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.login-box {
    background: #fff;
    padding: 40px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

.admin-header {
    background: #000;
    color: #fff;
    padding: 20px 0;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 22px;
    font-weight: 700;
}

.admin-header .btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.3em 1em;
}

.admin-header .btn:hover {
    background: #fff;
    color: #000;
}

.admin-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

.admin-sidebar {
    width: 250px;
    background: #f5f5f5;
    border-right: 1px solid #e5e5e5;
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav-link {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 200ms;
    border-left: 3px solid transparent;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: #fff;
    color: #2ea3f2;
    border-left-color: #2ea3f2;
}

.admin-main {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background: #fff;
}

.admin-section {
    max-width: 1200px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}

.data-table th {
    background: #f5f5f5;
    font-weight: 700;
    color: #333;
}

.data-table tr:hover {
    background: #fafafa;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 0.2em 0.8em;
    font-size: 13px;
}

.btn-danger {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
}

.badge {
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
}

.badge-success {
    background: #28a745;
    color: #fff;
}

.badge-warning {
    background: #ffc107;
    color: #000;
}

.badge-danger {
    background: #dc3545;
    color: #fff;
}

.badge-info {
    background: #2ea3f2;
    color: #fff;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-group {
    margin-bottom: 20px;
}

.detail-label {
    font-weight: 700;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 14px;
    color: #333;
}

.order-items-table {
    margin-top: 30px;
}

.order-items-table h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.modal-large {
    max-width: 800px;
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .data-table {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 8px;
    }

    .admin-main {
        padding: 20px;
    }
}
