/**
 * 【商用公開アーキテクト】認証用モーダルスタイル (Auth Modal)
 * 修正方針: HTML構造(SVG)を活かし、壊れないレイアウト。
 */

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 20000 !important; 
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
    visibility: hidden;
}

.auth-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.auth-card {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    color: #000000;
    box-sizing: border-box;
    text-align: center;
}

.auth-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: block;
}

.auth-title {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 24px;
}

.trial-badge {
    background: #000000;
    color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.auth-form {
    display: none;
}
.auth-form.active {
    display: block;
}

.auth-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-input-group label {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.auth-input {
    width: 100%;
    padding: 12px 14px;
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
    display: block;
    margin-bottom: 12px;
}

.auth-btn-primary {
    background: #000000;
    color: #ffffff;
}

.auth-btn-text {
    background: transparent;
    color: #666666;
    font-size: 0.8rem;
    text-decoration: underline;
}

.auth-separator {
    text-align: center;
    margin: 20px 0;
    color: #cccccc;
    display: flex;
    align-items: center;
}

.auth-separator::before, .auth-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eeeeee;
}

.auth-separator::before { margin-right: 12px; }
.auth-separator::after { margin-left: 12px; }

/* Googleボタン (SVG対応) */
.auth-btn-google {
    background: #ffffff !important;
    border: 1px solid #dddddd !important;
    color: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 12px !important;
}

.auth-btn-google svg {
    flex-shrink: 0;
}


