.admin-header .nav-logo {
    color: #1573D4;
}

.admin-panel {
    margin-top: 80px;
    padding: 2rem 0 4rem;
    background-color: #FFFBF2;
    min-height: calc(100vh - 80px);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background-color: rgba(29, 29, 58, 0.05);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(29, 29, 58, 0.05);
    flex-wrap: wrap;
}

.tab-link {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1D1D3A;
    opacity: 0.7;
    border-radius: 50px;
    transition: background-color 0.3s ease, opacity 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 150px;
}

.tab-link:hover {
    background-color: rgba(29, 29, 58, 0.1);
    opacity: 1;
}

.tab-link.active {
    background: #1573D4;
    color: #FFFBF2;
    opacity: 1;
    box-shadow: 0 5px 15px rgba(21, 115, 212, 0.3);
}

.tab-content {
    display: none;
    background-color: #FFFBF2;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(29, 29, 58, 0.08);
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1D1D3A;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: rgba(29, 29, 58, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid #1573D4;
}

.stat-card i {
    font-size: 2.5rem;
    color: #1573D4;
}

.stat-info .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1D1D3A;
}

.stat-info .stat-label {
    color: #1D1D3A;
    opacity: 0.7;
}

.admin-section {
    margin-bottom: 2.5rem;
}

.admin-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1D1D3A;
    border-bottom: 2px solid rgba(29, 29, 58, 0.1);
    padding-bottom: 0.5rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-form .form-group {
    display: flex;
    flex-direction: column;
}

.admin-form label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1D1D3A;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(29, 29, 58, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #FFFBF2;
    color: #1D1D3A;
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #1573D4;
    box-shadow: 0 0 0 3px rgba(21, 115, 212, 0.2);
}

.table-wrapper {
    overflow-x: auto;
}

#products-table,
.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

#products-table thead,
.table-wrapper table thead {
    background-color: rgba(29, 29, 58, 0.05);
}

#products-table th, #products-table td,
.table-wrapper table th, .table-wrapper table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(29, 29, 58, 0.1);
    vertical-align: middle;
}

#products-table th,
.table-wrapper table th {
    font-weight: 600;
    color: #1D1D3A;
}

#products-table tbody tr:hover,
#users-table tbody tr:hover {
    background-color: rgba(29, 29, 58, 0.03);
}

.product-table-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.action-buttons button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-right: 0.8rem;
    transition: color 0.3s ease;
}

.action-buttons .edit-btn { color: #1573D4; }
.action-buttons .edit-btn:hover { color: #105aab; }

.action-buttons .delete-btn { color: #ff6b6b; }
.action-buttons .delete-btn:hover { color: #ee5253; }

.suggestions-list {
    display: grid;
    gap: 1.5rem;
}

.suggestion-card {
    background-color: rgba(29, 29, 58, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 5px solid #B6D23C;
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #1D1D3A;
    opacity: 0.7;
}

.suggestion-header strong {
    color: #1D1D3A;
    opacity: 1;
}

.suggestion-body {
    color: #1D1D3A;
    line-height: 1.7;
}

.admin-empty-state {
    text-align: center;
    padding: 3rem;
    background-color: rgba(29, 29, 58, 0.03);
    border-radius: 12px;
    border: 2px dashed rgba(29, 29, 58, 0.1);
    color: #1D1D3A;
    opacity: 0.7;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
        border-radius: 12px;
    }
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
}

.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 29, 58, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.confirm-modal {
    background-color: #FFFBF2;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.confirm-modal h3 {
    font-size: 1.5rem;
    color: #1D1D3A;
    margin-bottom: 1rem;
    text-align: center;
}

.confirm-modal .admin-form {
    margin-top: 1.5rem;
    gap: 1rem;
    text-align: left;
}

.confirm-modal .admin-form .form-group {
    margin-bottom: 0;
}

.confirm-modal .confirm-modal-actions {
    margin-top: 1.5rem;
}

.confirm-modal-message {
    font-size: 1.2rem;
    color: #1D1D3A;
    margin-bottom: 1.5rem;
}

.confirm-modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.confirm-modal-actions button {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-confirm-yes {
    background-color: #e74c3c;
    color: #FFFBF2;
}
.btn-confirm-yes:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn-confirm-no {
    background-color: rgba(29, 29, 58, 0.1);
    color: #1D1D3A;
}
.btn-confirm-no:hover {
    background-color: rgba(29, 29, 58, 0.2);
    transform: translateY(-2px);
}

