/* ==========================================================================
   Scramble for Help - Premium Golf Tournament Styles
   ========================================================================== */

:root {
    /* Golf-themed color palette */
    --sfh-primary: #1a5c3a; /* Deep golf green */
    --sfh-primary-light: #2d7d54; /* Lighter green */
    --sfh-primary-dark: #0f3d25; /* Darker green */
    --sfh-accent: #d4af37; /* Elegant gold */
    --sfh-accent-light: #e8c968; /* Light gold */
    --sfh-secondary: #2c3e50; /* Sophisticated navy */
    --sfh-bg-light: #f8f9fa; /* Light background */
    --sfh-bg-white: #ffffff;
    --sfh-text-dark: #2c3e50;
    --sfh-text-muted: #6c757d;
    --sfh-success: #28a745;
    --sfh-warning: #ffc107;
    --sfh-shadow: rgba(0, 0, 0, 0.08);
    --sfh-shadow-lg: rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Base Styles & Typography
   ========================================================================== */

.app-scramble-for-help {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--sfh-text-dark);
}

.app-scramble-for-help .bg-light {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf0 100%) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.sfh-hero {
    background: linear-gradient(135deg, var(--sfh-primary-dark) 0%, var(--sfh-primary) 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-bottom: 4px solid var(--sfh-accent);
    position: relative;
    overflow: hidden;
}

.sfh-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.sfh-hero-content {
    position: relative;
    z-index: 1;
}

.sfh-hero h1 {
    color: white !important;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sfh-hero .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.5rem;
    font-weight: 300;
}

.sfh-hero .bi-trophy-fill {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ==========================================================================
   Tournament Cards
   ========================================================================== */

.sfh-card {
    background: var(--sfh-bg-white);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px var(--sfh-shadow), 0 1px 3px var(--sfh-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.sfh-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sfh-primary) 0%, var(--sfh-accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sfh-card:hover {
    /*transform: translateY(-4px);*/
    box-shadow: 0 12px 24px var(--sfh-shadow-lg), 0 4px 8px var(--sfh-shadow);
}

.sfh-card:hover::before {
    opacity: 1;
}

.sfh-card-registered {
    border: 2px solid var(--sfh-primary);
    background: linear-gradient(to bottom, #fff 0%, #f8fdf9 100%);
}

.sfh-card-registered::before {
    opacity: 1;
}

.sfh-card-body {
    padding: 2rem !important;
}

.sfh-card-title {
    color: var(--sfh-primary);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Card Info Items */
.sfh-info-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--sfh-text-dark);
    font-size: 1rem;
}

.sfh-info-item i {
    color: var(--sfh-primary);
    font-size: 1.25rem;
    min-width: 2rem;
}

.sfh-info-item strong {
    color: var(--sfh-primary-dark);
}

/* ==========================================================================
   Badges
   ========================================================================== */

.sfh-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sfh-badge-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.sfh-badge-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #000;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.sfh-btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.sfh-btn-primary {
    background: linear-gradient(135deg, var(--sfh-primary) 0%, var(--sfh-primary-light) 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(26, 92, 58, 0.3);
}

.sfh-btn-primary:hover {
    background: linear-gradient(135deg, var(--sfh-primary-dark) 0%, var(--sfh-primary) 100%);
    /*transform: translateY(-2px);*/
    box-shadow: 0 6px 12px rgba(26, 92, 58, 0.4);
    color: white;
}

.sfh-btn-secondary {
    background: var(--sfh-bg-white);
    color: var(--sfh-primary);
    border: 2px solid var(--sfh-primary);
}

.sfh-btn-secondary:hover {
    background: var(--sfh-primary);
    color: white;
    border-color: var(--sfh-primary);
}

.sfh-btn-gold {
    background: linear-gradient(135deg, var(--sfh-accent) 0%, var(--sfh-accent-light) 100%);
    color: var(--sfh-primary-dark);
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.3);
}

.sfh-btn-gold:hover {
    background: linear-gradient(135deg, #c49932 0%, var(--sfh-accent) 100%);
    /*transform: translateY(-2px);*/
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.4);
}

.sfh-btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   Registration Form
   ========================================================================== */

.sfh-form-section {
    background: var(--sfh-bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px var(--sfh-shadow);
    margin-bottom: 2rem;
}

.sfh-form-section h3 {
    color: var(--sfh-primary);
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--sfh-accent);
}

.sfh-form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sfh-form-control:focus {
    border-color: var(--sfh-primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 92, 58, 0.15);
    outline: none;
}

.sfh-form-label {
    color: var(--sfh-text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.sfh-form-check-input {
    border: 2px solid var(--sfh-primary);
    border-radius: 4px;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
}

.sfh-form-check-input:checked {
    background-color: var(--sfh-primary);
    border-color: var(--sfh-primary);
}

.sfh-form-check-label {
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

/* ==========================================================================
   Cost Summary Box
   ========================================================================== */

.sfh-cost-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--sfh-accent);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.sfh-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

.sfh-cost-row-total {
    border-top: 2px solid var(--sfh-accent);
    margin-top: 1rem;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--sfh-primary);
}

/* ==========================================================================
   Payment View
   ========================================================================== */

.sfh-payment-method {
    background: var(--sfh-bg-white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sfh-payment-method:hover {
    border-color: var(--sfh-primary);
    background: #f8fdf9;
    /*transform: translateX(4px);*/
}

.sfh-payment-method .bi {
    font-size: 2rem;
    color: var(--sfh-primary);
}

/* ==========================================================================
   Success/Complete View
   ========================================================================== */

.sfh-success-icon {
    font-size: 5rem;
    color: var(--sfh-success);
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ==========================================================================
   Info Box
   ========================================================================== */

.sfh-info-box {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left: 4px solid #17a2b8;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.sfh-warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.sfh-success-box {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* ==========================================================================
   Registration Details
   ========================================================================== */

.sfh-detail-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.sfh-detail-item:last-child {
    border-bottom: none;
}

.sfh-detail-label {
    font-weight: 600;
    color: var(--sfh-primary);
    margin-right: 0.5rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .sfh-hero h1 {
        font-size: 2.5rem;
    }

    .sfh-hero .lead {
        font-size: 1.2rem;
    }

    .sfh-card-body {
        padding: 1.5rem !important;
    }

    .sfh-form-section {
        padding: 1.5rem;
    }

    .sfh-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.sfh-text-primary {
    color: var(--sfh-primary) !important;
}

.sfh-text-accent {
    color: var(--sfh-accent) !important;
}

.sfh-bg-gradient {
    background: linear-gradient(135deg, var(--sfh-primary) 0%, var(--sfh-primary-light) 100%);
}

.sfh-divider {
    border: 0;
    border-top: 2px solid var(--sfh-accent);
    margin: 2rem 0;
    opacity: 0.5;
}

.sfh-shadow-sm {
    box-shadow: 0 2px 4px var(--sfh-shadow);
}

.sfh-shadow-md {
    box-shadow: 0 4px 6px var(--sfh-shadow);
}

.sfh-shadow-lg {
    box-shadow: 0 8px 16px var(--sfh-shadow-lg);
}
