/* Admin Panel Styles */
.admin-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
}

.admin-panel.active {
    right: 0;
}

.admin-header {
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h3 {
    margin: 0;
    color: #3498db;
    font-size: 1.3rem;
}

.close-admin {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-admin:hover {
    color: #e74c3c;
}

.admin-content {
    padding: 1.5rem;
}

.admin-section {
    margin-bottom: 2rem;
}

.admin-section h4 {
    color: #2ecc71;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: #ecf0f1;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255,255,255,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.save-btn {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.admin-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.admin-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.admin-toggle.active {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.success-message {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(46, 204, 113, 0.3);
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-panel {
        width: 100%;
        right: -100%;
    }
    
    .admin-toggle {
        top: 15px;
        right: 15px;
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
}
