:root {
    --primary: #0d366b;
    --secondary: #0986b9;
    --success: #4CAF50;
    --warning: #e99d2b;
    --light: #f8f9fa;
    --dark: #343a40;
    --primary-light: #e6f0ff;
    --primary-muted: #6c8ebc;
}

body {
    background: linear-gradient(135deg, #0d366b, #0986b9);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.logo-container {
    margin-bottom: 2rem;
    background: #0d366b; /* Couleur bleue foncée pour correspondre au fond du logo */
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.card-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 992px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.login-card, .investment-card, .services-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    padding: 2rem;
}

.login-card {
    border-top: 4px solid var(--primary);
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-container {
    display: flex;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    overflow: hidden;
}

.input-icon {
    background-color: #f8f9fa;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    border: none;
    flex-grow: 1;
    padding: 0.75rem;
}

.form-control:focus {
    box-shadow: none;
    outline: none;
}

.input-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 54, 107, 0.25);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 500;
    width: 100%;
}

.btn-warning {
    background-color: var(--warning);
    border-color: var(--warning);
    color: white;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    width: fit-content;
}

.btn-success:hover, .btn-warning:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.service-item, .investment-item {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.service-icon, .investment-icon {
    background-color: rgba(13, 54, 107, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
    color: var(--primary);
}

.card-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.investment-card .card-title {
    color: #4CAF50;
}

.services-card .card-title {
    color: var(--primary);
}

.appointment-section {
    background-color: rgba(13, 54, 107, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.appointment-button {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.appointment-button:hover {
    background-color: #0a2a54;
    color: white;
}

.blocked-message {
    background: rgba(255,255,255,0.9);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    max-width: 400px;
}

.blocked-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.investment-highlight {
    background-color: rgba(76, 175, 80, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.modal-content {
    border-radius: 1rem;
    border: none;
}

.modal-header, .modal-footer {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.modal-header {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.modal-footer {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.service-highlight {
    background-color: rgba(9, 134, 185, 0.1);
    border: 1px solid rgba(9, 134, 185, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary);
    font-weight: 500;
}

.services-list.amber-style {
    margin-top: 1.5rem;
}

.services-list.amber-style .service-item {
    margin-bottom: 1.5rem;
}

.service-icon.amber {
    background-color: #fef3c7;
    color: #d97706;
}

.service-text {
    margin-bottom: 0;
    color: #374151;
}

.appointment-section.amber {
    background: linear-gradient(to right, #d97706, #f59e0b);
    color: white;
}

.appointment-button.amber {
    background-color: white;
    color: #d97706;
}

.appointment-button.amber:hover {
    background-color: #fffbeb;
    color: #d97706;
}

.bg-primary-light {
    background-color: rgba(9, 134, 185, 0.1);
}

.text-primary {
    color: var(--primary);
}

.text-primary-muted {
    color: var(--primary-muted);
}
