/* Verify Page - Orange Theme 2025 */

/* Verify Hero */
.verify-hero {
    min-height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 50%, #fff5eb 100%);
}

.verify-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ff7a00' fill-opacity='0.08' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    z-index: 0;
}

.verify-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.verify-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.verify-hero-content p {
    font-size: 1.05rem;
    color: var(--text-gray);
}

/* Verification Content */
.verification-content {
    padding: 3rem 0 4rem;
    background: var(--light-gray);
}

.verify-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Verification Tabs */
.verification-tabs {
    background: var(--white);
    border: 2px solid rgba(255, 122, 0, 0.15);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.verification-tabs::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.tabs-header {
    display: flex;
    background: var(--light-gray);
    border-bottom: 2px solid rgba(255, 122, 0, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.tab-btn.active { color: var(--primary); background: var(--white); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover:not(.active) { background: rgba(255, 122, 0, 0.05); color: var(--text-dark); }
.tab-btn i { font-size: 1.1rem; }

/* Tab Content */
.tab-content { display: none; padding: 2rem; animation: tabFadeIn 0.4s ease-out; }
.tab-content.active { display: block; }

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scanner Card */
.scanner-card, .input-card {
    text-align: center;
}

.scanner-header, .input-header { margin-bottom: 1.5rem; }

.scanner-header h2, .input-header h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.scanner-header p, .input-header p { color: var(--text-gray); font-size: 0.9rem; }

/* Scanner Wrapper */
.scanner-wrapper {
    position: relative;
    max-width: 350px;
    margin: 0 auto 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--dark);
    border: 3px solid var(--primary);
}

.qr-video { width: 100%; height: 280px; object-fit: cover; display: block; }

.scanner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.scanner-frame { position: relative; width: 180px; height: 180px; }

.corner {
    position: absolute;
    width: 28px; height: 28px;
    border: 4px solid var(--primary);
}

.corner.top-left { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner.top-right { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner.bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; }
.corner.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; }

.scanner-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scannerLine 2s ease-in-out infinite;
}

@keyframes scannerLine {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(180px); opacity: 0.8; }
    100% { transform: translateY(0); opacity: 1; }
}

.scanner-status {
    position: absolute;
    bottom: 0.75rem; left: 0.75rem; right: 0.75rem;
    background: rgba(0, 0, 0, 0.85);
    color: var(--white);
    padding: 0.6rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* Scanner Controls */
.scanner-controls { display: flex; justify-content: center; gap: 0.75rem; }

.scan-btn {
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scan-btn:not(.secondary) {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.scan-btn.secondary {
    background: var(--light-gray);
    color: var(--text-dark);
    border: 2px solid #e8e8e8;
}

.scan-btn:hover { transform: translateY(-2px); }

/* Booking Input Form */
.booking-input-form { max-width: 350px; margin: 0 auto; }

.booking-input-form .input-group { margin-bottom: 1.25rem; text-align: left; }

.booking-input-form .input-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.booking-input-form .input-wrapper { position: relative; }

.booking-input-form .input-wrapper i {
    position: absolute;
    left: 1rem; top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 2;
}

.booking-input-form input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.75rem;
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius-sm);
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.booking-input-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.booking-input-form input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-light);
}

.verify-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-orange);
}

.verify-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(255, 122, 0, 0.35); }

/* Verification Results */
.verification-results { animation: resultsSlideIn 0.5s ease-out; }

@keyframes resultsSlideIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-card {
    background: var(--white);
    border: 2px solid rgba(255, 122, 0, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.results-header { margin-bottom: 1.5rem; }

.status-indicator {
    width: 70px; height: 70px;
    margin: 0 auto 1rem;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    animation: statusPop 0.5s ease-out;
}

.status-indicator.error { background: #f56565; }

@keyframes statusPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.results-header h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
}

/* Booking Details Display */
.booking-details-display {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    color: var(--white);
}

.booking-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item { display: flex; flex-direction: column; gap: 0.2rem; }
.info-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.5px; }
.info-value { font-size: 0.95rem; color: var(--white); font-weight: 500; }

.booking-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-created { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.status-confirmed { background: rgba(66, 153, 225, 0.2); color: #4299e1; }
.status-deposited { background: rgba(72, 187, 120, 0.2); color: #48bb78; }
.status-closed { background: rgba(113, 128, 150, 0.2); color: #718096; }

.qr-code-display {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius-sm);
}

.qr-code-display img { max-width: 130px; border-radius: var(--border-radius-sm); }
.qr-code-display p { margin-top: 0.4rem; font-size: 0.75rem; color: var(--text-light); }

/* Results Actions */
.results-actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

.action-btn {
    padding: 0.8rem 1.25rem;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.action-btn.primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.action-btn.secondary {
    background: var(--light-gray);
    color: var(--text-dark);
    border: 2px solid #e8e8e8;
}

.action-btn:hover { transform: translateY(-2px); }

/* Responsive */
@media (max-width: 768px) {
    .verify-hero { min-height: 30vh; }
    .verify-hero-content h1 { font-size: 1.75rem; }
    .verification-content { padding: 2rem 0 3rem; }
    .tabs-header { flex-direction: column; }
    .tab-btn { padding: 0.85rem; }
    .tab-content { padding: 1.5rem; }
    .scanner-wrapper { max-width: 100%; }
    .qr-video { height: 240px; }
    .scanner-frame { width: 150px; height: 150px; }
    .booking-info-grid { grid-template-columns: 1fr; }
    .results-actions { flex-direction: column; align-items: center; }
    .action-btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
    .verify-container { padding: 0 1rem; }
    .verify-hero-content { padding: 1rem; }
    .results-card { padding: 1.5rem; }
    .booking-details-display { padding: 1rem; }
}
