/* InvoiceNow Fair 2026 Custom Styles */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fraunces:wght@600;700&display=swap');

body {
    font-family: 'DM Sans', sans-serif;
    color: #1a1a1a;
    background-color: #fafafa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #A82C33 0%, #6F368F 50%, #6FC7F7 100%);
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center bottom;
    background-size: cover;
    opacity: 0.3;
}

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

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-info {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hero-info-item:last-child {
    margin-bottom: 0;
}

.hero-icon {
    font-size: 1.5rem;
}

/* Form Section */
.form-section {
    padding: 4rem 0;
}

.form-container {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.instructions-box {
    background: #f8f9ff;
    border-left: 4px solid #A82C33;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.instructions-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.event-details {
    margin-bottom: 1rem;
}

.event-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.note-box {
    background: #fffbf0;
    border-left: 4px solid #ffa726;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.note-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

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

.form-control:focus,
.form-select:focus {
    border-color: #6F368F;
    box-shadow: 0 0 0 4px rgba(111, 54, 143, 0.1);
}

.form-text {
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-check {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    margin-left: 2.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    min-height: 3rem;
}

.form-check:hover {
    background: #f0f2ff;
    border-color: #6F368F;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    position: absolute;
    left: -1rem;
    top: 1rem;
    margin: 0;
    border-color:  purple;
}

.form-check-input:checked {
    background-color: #6F368F;
    border-color: #6F368F;
}

.form-check-input:focus {
    border-color: #6F368F;
    box-shadow: 0 0 0 0.25rem rgba(111, 54, 143, 0.25);
}

.form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
    display: block;
    padding-left: 0;
    margin-left: 0;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #A82C33 0%, #6F368F 100%);
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 44, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 44, 51, 0.4);
    background: linear-gradient(135deg, #8f2229 0%, #5d2d74 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-secondary {
    border: 2px solid #6F368F;
    color: #6F368F;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #6F368F;
    color: white;
    border-color: #6F368F;
}

/* Thank You Page */
.thankyou-section {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thankyou-container {
    background: white;
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #A82C33 0%, #6F368F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thankyou-title {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.thankyou-message {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.confirmation-box {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid #e0e7ff;
}

.confirmation-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.confirmation-details {
    text-align: left;
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e7ff;
}

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

.detail-label {
    font-weight: 600;
    color: #666;
    width: 180px;
    flex-shrink: 0;
}

.detail-value {
    color: #1a1a1a;
    font-weight: 500;
}

.important-note {
    background: #fffbf0;
    border-left: 4px solid #ffa726;
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: left;
}

.important-note strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

/* QR Code Box */
.qr-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0 1rem;
    padding: 1.5rem;
    background: #f8f9ff;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
}

.qr-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.qr-canvas {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-canvas img,
.qr-canvas canvas {
    border-radius: 8px;
}

/* Print Button */
.btn-print {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-print:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .thankyou-section {
        padding: 1rem 0;
        min-height: unset;
    }

    .thankyou-container {
        box-shadow: none;
        border: 1px solid #ddd;
        padding: 2rem;
        max-width: 100%;
    }

    .action-buttons {
        display: none !important;
    }

    .qr-code-box {
        border: 1px solid #ccc;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .thankyou-container {
        padding: 3rem 2rem;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .detail-label {
        width: 100%;
    }
}
