/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border-color: var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-success {
    background: var(--success-color);
    color: var(--text-primary);
}

.btn-success:hover {
    background: #4CAF50;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-warning {
    background: var(--warning-color);
    color: var(--text-primary);
}

.btn-warning:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* アクションセクション */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.link-display {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    word-break: break-all;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.link-display::before {
    content: '🔗';
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--gradient-primary);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
}

/* Sweet Alert カスタマイズ */
.custom-swal-popup {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.custom-swal-title {
    color: #2C2F33 !important;
    font-weight: 600 !important;
}

/* SweetAlert2のボタンスタイル統一 */
.swal2-confirm, .swal2-deny, .swal2-cancel {
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 0.95em !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover, .swal2-deny:hover, .swal2-cancel:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* プログレスバーのスタイル */
.swal2-timer-progress-bar {
    background: var(--primary-color) !important;
}
