/**
 * 転職意向確認ポップアップ専用CSS
 * らしくジョブ用にカスタマイズ
 */

/* ========================================
   オーバーレイ
======================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   ポップアップコンテンツ
======================================== */
.popup-content {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    position: relative;
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

/* ========================================
   タイトル・サブタイトル
======================================== */
.popup-title {
    font-size: 26px;
    font-weight: 900;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.popup-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.6;
}

/* ========================================
   ボタン
======================================== */
.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.popup-btn {
    border: none;
    border-radius: 50px;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 60px;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.popup-btn i {
    font-size: 20px;
}

/* プライマリボタン（積極的な転職希望者） */
.popup-btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
}

.popup-btn-primary:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2E6BA6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(74, 144, 226, 0.4);
}

.popup-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(74, 144, 226, 0.3);
}

/* セカンダリボタン（情報収集段階） */
.popup-btn-secondary {
    background: white;
    color: #4A90E2;
    border: 2px solid #4A90E2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.popup-btn-secondary:hover {
    background: #F7FBFE;
    border-color: #357ABD;
    color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.2);
}

.popup-btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   閉じるボタン（オプション）
======================================== */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.popup-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
    .popup-content {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .popup-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .popup-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .popup-btn {
        padding: 16px 25px;
        font-size: 15px;
        min-height: 56px;
    }

    .popup-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .popup-overlay {
        padding: 15px;
    }

    .popup-content {
        padding: 30px 20px;
        border-radius: 18px;
    }

    .popup-title {
        font-size: 20px;
    }

    .popup-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .popup-buttons {
        gap: 12px;
    }

    .popup-btn {
        padding: 15px 20px;
        font-size: 14px;
        min-height: 52px;
        gap: 8px;
    }

    .popup-btn i {
        font-size: 16px;
    }
}

/* ========================================
   アニメーション
======================================== */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-overlay.show .popup-content {
    animation: popupFadeIn 0.4s ease-out;
}
