/* サンクスページ（申し込み完了画面）のスタイル */

/* 完了画面コンテナ */
.entry-complete-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* 完了アイコン */
.completion-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.completion-icon.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: successPulse 1.5s ease-in-out;
}

.completion-icon.error {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 完了タイトル */
.completion-title {
    color: #28a745;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 完了メッセージ */
.completion-message {
    margin-bottom: 35px;
}

.main-message {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.main-message strong {
    color: #007cba;
}

/* 完了詳細情報 */
.completion-details {
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.participant-info {
    font-size: 16px;
    margin-bottom: 15px;
}

.detail-label {
    color: #666;
    font-weight: 600;
}

.detail-value {
    color: #0066cc;
    font-weight: 700;
    font-size: 18px;
}

.email-info {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
}

/* 次のステップ */
.completion-actions {
    margin: 35px 0;
    text-align: left;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    display: none;
}

.completion-actions h3 {
    color: #856404;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.next-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    color: #495057;
    font-size: 14px;
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps li .dashicons {
    color: #28a745;
    margin-right: 10px;
    margin-top: 2px;
    font-size: 16px;
    flex-shrink: 0;
}

/* ナビゲーションボタン */
.navigation-buttons {
    margin: 35px 0 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.navigation-buttons .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.navigation-buttons .primary-button {
    background: linear-gradient(135deg, #007cba, #0056b3);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.3);
}

.navigation-buttons .primary-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.4);
    color: white;
}

.navigation-buttons .secondary-button {
    background-color: #6c757d;
    color: white;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.navigation-buttons .secondary-button:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.4);
    color: white;
}

.navigation-buttons .button .dashicons {
    font-size: 18px;
}

/* サポート情報 */
.support-info {
    margin-top: 30px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.support-text {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.support-text .dashicons {
    color: #007cba;
}

/* エラーメッセージ */
.error-message {
    color: #dc3545;
    font-size: 16px;
    margin: 20px 0;
    font-weight: 600;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .entry-complete-container {
        padding: 30px 15px;
        margin: 10px;
    }
    
    .completion-title {
        font-size: 24px;
    }
    
    .main-message {
        font-size: 16px;
        padding: 15px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .navigation-buttons .button {
        width: 100%;
        max-width: 280px;
    }
    
    .completion-actions {
        text-align: center;
    }
    
    .next-steps {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .entry-complete-container {
        padding: 20px 10px;
    }
    
    .completion-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .completion-title {
        font-size: 20px;
    }
    
    .main-message {
        font-size: 14px;
    }
    
    .next-steps li {
        font-size: 13px;
    }
}

/* アニメーション効果 */
.entry-complete-container {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashiconsが読み込まれていない場合の対応 */
.dashicons {
    font-family: dashicons;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: top;
}

/* Dashiconsのfallback文字 */
.dashicons-yes-alt:before {
    content: "\f147";
}

.dashicons-warning:before {
    content: "\f534";
}

.dashicons-arrow-left-alt2:before {
    content: "\f340";
}

.dashicons-grid-view:before {
    content: "\f509";
}

.dashicons-email:before {
    content: "\f465";
}

.dashicons-calendar-alt:before {
    content: "\f073";
}

.dashicons-location:before {
    content: "\f230";
}

.dashicons-sos:before {
    content: "\f468";
}
