/* =============== REGISTER / LOGIN FORM STYLES =============== */
.register {
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid #344b92;
    margin: 20px auto;
    border-radius: 15px;
    width: 50%;
    max-width: 400px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
}

.register:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.register h1 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.register p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.register form {
    margin: 0 auto;
    width: 375px;
}

.register ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register form li + li {
    margin-top: 1em;
}

.register label {
    display: inline-block;
    color: var(--accent-color);
    font-size: 20px;
    width: 160px;
    white-space: nowrap;
    text-align: center;
}

.register input,
.register textarea {
    font: 1em sans-serif;
    width: 200px;
    box-sizing: border-box;
    border: 2px solid #344b92;
    border-radius: 10px;
}

.register input:focus,
.register textarea:focus {
    border-color: #000;
}

.register textarea {
    vertical-align: top;
    height: 5em;
    resize: vertical;
}

.register .button {
    padding-left: 90px;
}

.register button {
    margin-left: 0.5em;
}

.btn-primary {
    margin-top: 15px;
}

/* Conteneur des boutons OAuth */
.oauth-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
    max-width: 400px;
}

.oauth-link {
    flex: 1;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    transition: all 0.2s ease;
}

.oauth-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.oauth-btn .icon {
    width: 18px;
    height: 18px;
}

.github-btn .icon path {
    fill: #ffffff;
}
