﻿/*
    Login.cshtmlで使用
*/


body.customer-auth-body {
    background:
        radial-gradient(circle at 15% 20%, rgba(31,111,255,0.12), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(31,111,255,0.10), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
}

.customer-auth-page {
    padding: 40px 20px 60px;
}

/* レイアウト */
.customer-auth-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 40px;
    align-items: start;
}

/* 左側 */
.customer-auth-hero h1 {
    font-size: clamp(30px, 3vw, 42px);
    margin-bottom: 24px;
    line-height: 1.25;
    white-space: normal;
}

.customer-auth-hero p {
    color: #66758a;
    line-height: 1.8;
}

.customer-auth-eyebrow {
    background: rgba(31,111,255,0.1);
    color: #123a8d;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 16px;
}

/* feature */
.customer-auth-feature-list {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.customer-auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    padding: 18px 20px;
}

    .customer-auth-feature .icon {
        width: 32px;
        height: 32px;
        background: #eff5ff;
        border-radius: 10px;
        text-align: center;
        line-height: 32px;
        font-weight: bold;
        flex: 0 0 32px;
    }

    .customer-auth-feature .feature-text {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
    }

    .customer-auth-feature .feature-title {
        font-weight: 700;
        font-size: 18px;
        line-height: 1.4;
        color: #17212f;
    }

    .customer-auth-feature .feature-body {
        font-size: 16px;
        line-height: 1.8;
        color: #314055;
    }

/* 右カード */
.customer-auth-card {
    width: 100%;
    max-width: 460px;
    justify-self: end;
    background: rgba(255,255,255,0.92);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* tabs */
.customer-auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f2f6fc;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 20px;
}

    .customer-auth-tabs button {
        border: none;
        background: transparent;
        padding: 10px;
        border-radius: 10px;
        font-weight: bold;
        color: #66758a;
    }

        .customer-auth-tabs button.active {
            background: white;
            color: #123a8d;
        }

/* form */
.customer-auth-form {
    display: grid;
    gap: 14px;
}

.field label {
    font-weight: bold;
    font-size: 14px;
}

.input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #dbe4f0;
}

    .input:focus {
        border-color: #1f6fff;
        outline: none;
        box-shadow: 0 0 0 3px rgba(31,111,255,0.1);
    }

.input-wrap {
    position: relative;
}

.toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #eff5ff;
    padding: 8px 10px;
    border-radius: 10px;
}

/* ボタン */
.actions {
    margin-top: 8px;
    display: grid;
    gap: 10px;
}

.btn {
    padding: 14px;
    border-radius: 14px;
    border: none;
    font-weight: bold;
}

    .btn.primary {
        background: linear-gradient(135deg, #1f6fff, #52a3ff);
        color: white;
    }

    .btn.secondary {
        background: white;
        border: 1px solid #dbe4f0;
    }

/* サポート */
.support-box {
    margin-top: 18px;
    padding: 16px;
    background: #eff5ff;
    border-radius: 14px;
    font-size: 14px;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .customer-auth-container {
        grid-template-columns: 1fr;
    }
}
