/* Styles spécifiques Authentication (Inspiration GitHub) */

.auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
}

.auth-logo-container {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
}

.auth-header {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.auth-card {
    width: 100%;
    max-width: 310px;
    background-color: var(--gh-card-bg);
    border: 1px solid var(--gh-border);
    border-radius: 6px;
    padding: 20px;
    margin: 0 auto;
    /* very subtle shadow common on github login */
    background-color: #f6f8fa;
    /* Usually github card is also light gray, but let's make it white */
    background-color: var(--gh-card-bg);
}

.auth-card-register {
    max-width: 400px;
}

.auth-footer {
    width: 100%;
    max-width: 310px;
    text-align: center;
    padding: 15px 20px;
    margin: 15px auto 0;
    border: 1px solid var(--gh-border);
    border-radius: 6px;
    background-color: transparent;
    font-size: 14px;
}

.auth-footer-register {
    max-width: 400px;
}

.auth-inner-link {
    font-size: 12px;
    float: right;
    font-weight: 400;
}

@media (max-width: 600px) {
    .auth-wrapper {
        padding: 20px 10px;
    }

    .auth-card,
    .auth-footer,
    .auth-card-register,
    .auth-footer-register {
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .auth-card {
        padding: 15px;
    }
}