/* Admin Panel Styles */

/* Admin button in top header */
.admin-link-top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
}

/* Ensure logo-nav-section has position relative for proper positioning */
.logo-nav-section {
    position: relative;
}

.admin-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white !important;
    text-decoration: none;
}

.admin-icon {
    font-size: 1.1rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0%, 90% { 
        transform: rotate(0deg); 
    }
    95% { 
        transform: rotate(10deg); 
    }
    100% { 
        transform: rotate(0deg); 
    }
}

.admin-text {
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-link-top {
        right: 5px;
        top: 5px;
    }
    
    .admin-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .admin-text {
        display: none; /* Hide text on mobile, show only icon */
    }
}

@media (max-width: 480px) {
    .admin-button {
        padding: 5px 10px;
    }
}

