/* 認証画面 */
main {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh); /* フッターの高さを考慮 */
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: #f3f4f6;
    min-height: 100%;
}

.auth-box {
    margin-top: 15vh;
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 24px 0;
    color: var(--primary-color);
}

.auth-form {
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form .form-group:last-child {
    margin-bottom: 0;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4b5563;
}

.auth-form .form-control {
    width: calc(100% - 30px);
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 14px;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* レスポンシブ */
@media (max-width: 768px) {
    .auth-box {
        padding: 24px;
    }

    .auth-container {
        padding: 16px;
    }
}
