/* --- Header --- */
.header-section {
    background: url('{% static "images/formation-professionnelle.jpeg" %}') no-repeat center center/cover;
    position: relative;
    height: 50vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.header-section .title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.header-section .subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 10px;
    z-index: 2;
}

/* --- Auth Section --- */
.auth-section {
    padding: 80px 0;
    background: #f4f4f4;
}

.auth-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.auth-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 30px;
}

/* --- Form Styling --- */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: #f9f9f9;
}

.auth-form .input-icon {
    padding: 10px;
    background: #f1f1f1;
    color: #7f8c8d;
}

.auth-form .password-field {
    flex: 1;
    border: none;
    padding: 10px;
}

.auth-form .toggle-password {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 10px;
}

/* --- Buttons --- */
.btn-primary {
    background: #86b84f;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.btn-primary:hover {
    background: #b8804f;
}

.btn-secondary {
    background: #fff;
    color: #7f8c8d;
    border: 2px solid #ddd;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.btn-secondary:hover {
    color: #86b84f;
    border-color: #1abc9c;
}

/* --- Social Buttons --- */
.social-buttons a {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.btn-google {
    background: #dd4b39;
}

.btn-facebook {
    background: #3b5998;
}

.btn-linkedin {
    background: #0077b5;
}

.social-buttons a:hover {
    transform: scale(1.1);
}

/* --- Header --- */
.header-section {
    background: url('{% static "images/login-background.jpg" %}') no-repeat center center/cover;
    position: relative;
    height: 40vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.header-section .title {
    font-size: 2.5rem;
    font-weight: 700;
    z-index: 2;
}

.header-section .subtitle {
    font-size: 1.2rem;
    z-index: 2;
}

/* --- Formulaire --- */
.auth-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.auth-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* --- Form fields --- */
.form-group {
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.input-icon {
    padding: 10px;
    color: #7f8c8d;
}

.password-field {
    border: none;
    flex: 1;
    padding: 10px;
    background: transparent;
}

.toggle-password {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 10px;
}

/* --- Buttons --- */
.btn-primary {
    background: #86b84f;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #b8804f ;
}

.btn-secondary {
    background: #ddd;
    color: #555;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #ccc;
}

/* --- Social login --- */
.social-login {
    text-align: center;
    margin-top: 20px;
}

.social-buttons a {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.btn-google {
    background: #db4437;
}

.btn-facebook {
    background: #3b5998;
}

.btn-linkedin {
    background: #0077b5;
}

.social-buttons a:hover {
    transform: scale(1.1);
}










.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.input-group-text {
    background-color: #f8f9fa;
    border: none;
}

.form-control {
    border: 1px solid #ced4da;
}

.btn-primary {
    background-color: #86b84f;
    border: none;
}

.btn-primary:hover {
    background-color: #b8804f;
}

.btn-outline-secondary {
    border-color: #6c757d;
}
