/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    background-image: url("https://www.broker-stars.com/img/background.webp");
    background-size: cover;
    background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

h2 {
    font-size: 2rem;
    color: var(--dark-color);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Tables */
.table {
    background-color: white;
    border-radius: 0.25rem;
    overflow: hidden;
}

.table thead th {
    background-color: var(--dark-color);
    color: white;
    font-weight: 500;
    border: none;
}

.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,.075);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
    font-size: 0.9rem;

}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer p {margin-bottom: 0.5rem}

.footer a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .table-responsive {
        margin-bottom: 1rem;
    }
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
} 

.table-responsive {
    margin: 0;
    padding: 0;
    width: 100%;
}

.table {
    margin-bottom: 0;
    width: 100%;
}

.broker-logo {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stars {
    color: #ffc107;
    font-size: 1.2em;
    line-height: 1;
}

.score {
    font-size: 0.9em;
    color: #6c757d;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Ajout des styles pour l'alignement vertical */
.table td {
    vertical-align: middle;
}

.table th {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .table thead {
        display: none;
    }
    
    .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
    }
    
    .table tbody td {
        display: block;
        text-align: left;
        padding: 0.75rem;
        border: none;
        width: 100% !important;
    }
    
    .table tbody td:before {
        content: attr(data-label);
        font-weight: bold;
        margin-right: 0.5rem;
    }
    
    .broker-logo {
        max-width: 100px;
    }
    
    .rating {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn-sm {
        width: 100%;
    }
}

.alert-info, .alert-warning, .alert-success {padding-bottom: 0px;}
.containerbreadcrumb {background-color: #e2e3e5;}
.breadcrumb {--bs-breadcrumb-padding-x: 18px;--bs-breadcrumb-padding-y: 5px;--bs-breadcrumb-margin-bottom: 0;}
.noiretcentre {background-color: white}

@media (min-width: 768px) {
                            .carousel-image {
                                max-width: 400px !important;
                                width: auto !important;
                                height: auto !important;
                            }
                        }
                        .carousel-control-prev-icon,
                        .carousel-control-next-icon {
                            background-color: #0d6efd !important;
                            border-radius: 50%;
                            width: 40px;
                            height: 40px;
                            background-size: 50% 50%;
                        }

@keyframes subtle-pulse {
                0% {
                    box-shadow: 0 0 0 0 rgba(108, 117, 125, 0.4);
                }
                70% {
                    box-shadow: 0 0 0 10px rgba(108, 117, 125, 0);
                }
                100% {
                    box-shadow: 0 0 0 0 rgba(108, 117, 125, 0);
                }
            }

            .alert-attention {
                animation: subtle-pulse 2s infinite;
                transition: all 0.3s ease;
            }

            .alert-attention:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            }