@charset "UTF-8";

/* 画面全体でスクロールを発生させず、1画面に収めるためのbody設定 */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ログインページのコンテンツエリア調整 */
#contents {
    background: transparent !important;
    width: 100% !important;
    margin: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0 !important;
}

.auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); */
    padding: 20px 24px;
    box-sizing: border-box;
    overflow-y: auto;
}

.auth-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    width: 100%;
    max-width: 440px;
    padding: 40px 36px;
    animation: auth-fade-in 0.4s ease;
}

@keyframes auth-fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo h1 {
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
}

.auth-logo p {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

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

.auth-card .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    display: block;
}

.auth-card .form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background-color: var(--white);
    color: var(--text);
}

.auth-card .form-group input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}



.auth-error {
    background: #fdf0ef;
    color: var(--danger);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}
