/* FitLife Doctors Frontend Styles */

/* Dashboard Integration Styles */
.my-ads-menu {
    position: relative;
}

.my-ads-menu .side-menu__icon {
    color: #6c757d;
    transition: color 0.3s ease;
}

.my-ads-menu.active .side-menu__icon,
.my-ads-menu:hover .side-menu__icon {
    color: #007bff;
}

/* Ad Cards Styling */
#my-ads-section {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Spinner */
.fitlife-ads-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Success Message */
.fitlife-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #my-ads-section .col-xl-3,
    #my-ads-section .col-xl-4 {
        margin-bottom: 1rem;
    }
    
    .fitlife-success-message {
        right: 10px;
        left: 10px;
        text-align: center;
    }
}

/* Ad Banner Styles for Frontend Display */
.fitlife-ad-banner {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.fitlife-ad-banner:hover {
    transform: scale(1.02);
}

.fitlife-ad-container {
    text-align: center;
    margin: 20px 0;
}

.fitlife-ad-container img {
    max-width: 100%;
    height: auto;
}
