:root {
    --primary-blue: #0b5394;
    --hover-blue: #073763;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #cccccc;
    --footer-bg: #374151; /* Dark grey/blueish */
    --link-color: #0b5394;
    --bg-color: #ffffff;
    --btn-disabled: #8faadc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.site-header {
    background-color: var(--bg-color);
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.site-header .divider {
    width: 1px;
    height: 35px;
    background-color: #0b5394;
    margin: 0 15px;
}

.site-title {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: bold;
}

/* Main Content */
.main-content {
    flex: 1;
    background-color: var(--bg-color);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 26px;
    color: var(--text-dark);
    font-weight: normal;
    margin-bottom: 40px;
    text-align: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.subtitle {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: left;
    font-weight: bold;
    font-style: italic;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.input-group {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    cursor: pointer;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px 10px 12px 22px;
    border: none;
    border-bottom: 1px solid var(--primary-blue);
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    background-color: transparent;
}

input::placeholder {
    color: #999;
}

.help-link {
    font-size: 12px;
    color: var(--link-color);
    text-decoration: none;
    align-self: center;
    margin-bottom: 25px;
    display: block;
}

.help-link:hover {
    text-decoration: underline;
}

.inline-link {
    display: inline;
    margin-bottom: 0;
}

.submit-btn {
    background-color: var(--btn-disabled);
    color: white;
    border: none;
    padding: 12px 0;
    font-size: 14px;
    font-weight: bold;
    cursor: default;
    margin-top: 15px;
    width: 250px;
    letter-spacing: 0.5px;
}

.submit-btn.active {
    background-color: var(--primary-blue);
    cursor: pointer;
}

.submit-btn:hover.active {
    background-color: var(--hover-blue);
}

/* Separator */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--text-dark);
    font-size: 18px;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #666;
}

.separator span {
    padding: 0 15px;
}

/* FranceConnect */
.france-connect-section {
    margin-bottom: 30px;
}

.france-connect-section p {
    font-size: 12px;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.4;
}

.fc-btn-style {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000091;
    color: white;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    margin: 0 auto;
    width: max-content;
}

.fc-btn-style img {
    height: 35px;
    margin-right: 15px;
    background-color: white;
    padding: 2px;
    border-radius: 50%;
}

.fc-btn-style span {
    font-size: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.fc-link {
    margin-bottom: 0;
}

/* Register */
.register-section {
    font-size: 13px;
    color: var(--text-dark);
    margin-top: 30px;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 15px 0;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: bold;
}

.footer-links li a {
    color: white;
    text-decoration: none;
}

.footer-links li a:hover {
    text-decoration: underline;
}

.separator-li {
    margin: 0 15px;
    color: #fff;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-links {
        justify-content: center;
        line-height: 2;
    }
    
    .separator-li {
        margin: 0 8px;
    }
}
