/* Modern Registration Styles - static/css/register.css */
:root {
    --primary-red: #FF1D25;
    --secondary-red: #B01919;
    --dark-red: #960606;
    --navy-blue: #2D3748; /* Modern softer navy */
    --light-navy: #4A5568; /* Lighter version for text */
    --yellow: #E1C80B;
    --light-gray: #E6E6E6;
    --modern-blue: #3182CE; /* Happy modern blue */
    --success-green: #38A169; /* Fresh green */
    --soft-purple: #805AD5; /* Modern accent */
}

body {
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
}

.header-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="20" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 200px 200px;
}

.card {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 29, 37, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--dark-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 29, 37, 0.4);
}

.form-label {
    color: var(--light-navy);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control, .form-select {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus, .form-select:focus {
    border-color: var(--modern-blue);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    background: white;
    outline: none;
}

.form-control:hover, .form-select:hover {
    border-color: var(--modern-blue);
    background: white;
}

.event-info {
    background: linear-gradient(135deg, var(--modern-blue) 0%, var(--soft-purple) 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(49, 130, 206, 0.2);
}

.prize-badge {
    background: linear-gradient(135deg, var(--yellow) 0%, #F6E05E 100%);
    color: var(--light-navy);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    margin: 0.25rem;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(225, 200, 11, 0.3);
    transition: transform 0.2s ease;
}

.prize-badge:hover {
    transform: translateY(-2px);
}

.pet-section {
    background: linear-gradient(135deg, rgba(255, 29, 37, 0.05) 0%, rgba(255, 29, 37, 0.02) 100%);
    border-left: 4px solid var(--primary-red);
    padding: 1.5rem;
    border-radius: 0 16px 16px 0;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(255, 29, 37, 0.05);
}

.payment-section {
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.05) 0%, rgba(128, 90, 213, 0.05) 100%);
    border: 2px dashed var(--modern-blue);
    padding: 2rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    position: relative;
}

.payment-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--modern-blue), var(--soft-purple));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.1;
}

/* Pricing Cards */
.pricing-info {
    margin-bottom: 1.5rem;
}

.price-card {
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.price-card.highlighted {
    border-color: var(--success-green);
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.05) 0%, rgba(56, 161, 105, 0.02) 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(56, 161, 105, 0.15);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--modern-blue);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-navy);
    margin: 0.5rem 0;
}

.price-amount.discounted {
    color: var(--success-green);
    background: linear-gradient(135deg, var(--success-green), #48BB78);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.discount-badge {
    margin: 0.5rem 0;
}

.discount-badge .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--success-green) 0%, #48BB78 100%);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.3);
}

.payment-amount-display {
    background: linear-gradient(135deg, rgba(255, 29, 37, 0.05) 0%, rgba(255, 29, 37, 0.02) 100%);
    border-left: 4px solid var(--primary-red);
    padding: 1.5rem;
    border-radius: 0 16px 16px 0;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(255, 29, 37, 0.05);
}

.payment-instructions {
    margin-top: 1.5rem;
}

.payment-instruction {
    display: none;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.payment-instruction.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-instruction .alert {
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0;
}

.alert-warning {
    background: linear-gradient(135deg, #FFF5B7 0%, #FEF5E7 100%);
    color: #744210;
    border-left: 4px solid #D69E2E;
}

.alert-success {
    background: linear-gradient(135deg, #C6F6D5 0%, #F0FFF4 100%);
    color: #22543D;
    border-left: 4px solid var(--success-green);
}

.alert-info {
    background: linear-gradient(135deg, #BEE3F8 0%, #EBF8FF 100%);
    color: #2A4365;
    border-left: 4px solid var(--modern-blue);
}

#savings-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#savings-badge .badge {
    background: linear-gradient(135deg, var(--success-green) 0%, #48BB78 100%);
    color: white;
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.3);
}

/* Form Check Styles */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #CBD5E0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: var(--modern-blue);
    border-color: var(--modern-blue);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-check-label {
    color: var(--light-navy);
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Text and Helper Styles */
.form-text {
    color: #718096;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.text-danger {
    color: #E53E3E !important;
    font-weight: 500;
}

h5 {
    color: var(--light-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-banner {
        padding: 1.5rem 0;
    }
    
    .card {
        margin: 0 0.5rem;
    }
    
    .event-info {
        padding: 1.5rem;
        margin: 0 0.5rem 2rem;
    }
    
    .price-card {
        margin-bottom: 1rem;
    }
    
    .pricing-info .row > div {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        width: 100%;
        padding: 1rem;
    }
    
    .payment-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
}

.paw-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.paw-link:hover {
    color: var(--yellow) !important;
    text-decoration: none;
    transform: translateY(-3px);
}

.paw-link:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(225, 200, 11, 0.3));
}

.paw-link:hover small {
    color: var(--yellow) !important;
    font-weight: 600;
}

.paw-link i {
    transition: all 0.3s ease;
}

.paw-link small {
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

/* Add a subtle pulse animation to draw attention */
@keyframes pawPulse {
    0% { opacity: 0.75; }
    50% { opacity: 1; }
    100% { opacity: 0.75; }
}

.paw-link {
    animation: pawPulse 3s ease-in-out infinite;
}

.paw-link:hover {
    animation: none; /* Stop pulsing on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .paw-link {
        text-align: center;
        margin-top: 1rem;
    }
    
    .paw-link i {
        font-size: 2.5rem !important;
    }
    
    .paw-link small {
        font-size: 0.75rem;
    }
}

.qr-code-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1rem;
    margin: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.qr-code-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--success-green);
}

.qr-code-image {
    max-width: 180px !important;
    height: auto;
    border-radius: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.qr-code-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.3) !important;
}

/* Payment Details and Timing Info */
.payment-details, .timing-info {
    background: rgba(56, 161, 105, 0.05);
    border-left: 3px solid var(--success-green);
    padding: 0.75rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 0.5rem;
}

.payment-details strong, .timing-info strong {
    color: var(--success-green);
    font-size: 0.9rem;
}

.payment-details ul li, .timing-info ul li {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

/* Enhanced Jardín Azuayo Instructions */
#instructions-jardin_azuayo .alert-success {
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.1) 0%, rgba(72, 187, 120, 0.05) 100%);
    border: 1px solid rgba(56, 161, 105, 0.2);
    border-radius: 12px;
}

#instructions-jardin_azuayo ol {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

#instructions-jardin_azuayo ol li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

#instructions-jardin_azuayo ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--success-green);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .qr-code-container {
        padding: 0.75rem;
        margin: 1rem 0;
    }
    
    .qr-code-image {
        max-width: 150px !important;
    }
    
    #instructions-jardin_azuayo .row {
        flex-direction: column;
    }
    
    #instructions-jardin_azuayo .col-md-4 {
        order: 2;
        margin-top: 1rem;
    }
    
    #instructions-jardin_azuayo .col-md-8 {
        order: 1;
    }
    
    .payment-details, .timing-info {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    #instructions-jardin_azuayo ol li {
        padding-left: 1.75rem;
        font-size: 0.85rem;
    }
    
    #instructions-jardin_azuayo ol li::before {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.7rem;
    }
    
    .qr-code-image {
        max-width: 120px !important;
    }
}