/* 認証画面スタイル */
#auth-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

#auth-screen.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

.auth-container {
    width: 100%;
    max-width: 550px;
    padding: 20px;
}

.auth-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    color: #000;
}

.lock-icon svg {
    width: 100%;
    height: 100%;
}

.auth-card h1 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #000;
}

.auth-description {
    font-size: 14px;
    color: #999;
    margin: 0 0 30px;
    font-weight: 300;
}

/* 注意書きボックス */
.auth-notice {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.notice-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notice-text {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.notice-text strong {
    color: #000;
    font-weight: 600;
}

/* 利用規約リンク */
.terms-text {
    font-size: 12px;
    color: #999;
    margin: 15px 0 0;
    line-height: 1.6;
}

.terms-link {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.3s;
}

.terms-link:hover {
    opacity: 0.6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background: #fafafa;
}

.auth-form input:focus {
    outline: none;
    border-color: #000;
    background: #fff;
}

.auth-button {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.auth-button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.auth-button:active {
    transform: translateY(0);
}

.error-message {
    color: #d32f2f;
    font-size: 14px;
    text-align: center;
    display: none;
    margin-top: 10px;
}

.error-message.show {
    display: block;
    animation: shake 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .auth-card {
        padding: 40px 25px;
    }
    
    .auth-card h1 {
        font-size: 26px;
    }
    
    .lock-icon {
        width: 60px;
        height: 60px;
    }
    
    .notice-text {
        font-size: 12px;
    }
    
    .notice-text br {
        display: none;
    }
    
    .terms-text br {
        display: none;
    }
}
