/* Verify Page Styles */
.verify-container {
    width: 100%;
    animation: slideUp 0.5s ease-out;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.verify-title {
    text-align: center;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.verify-card {
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
    max-width: 600px;
    width: 100%;
    transition: all 0.3s ease;
}

.success-card {
    border-left: 5px solid #28a745 !important;
    animation: successPulse 0.6s ease-out;
}

.error-card {
    border-left: 5px solid #dc3545 !important;
    animation: shake 0.5s ease-out;
}

.verify-card .card-body {
    padding: 2.5rem 2.5rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    font-weight: bold;
    line-height: 1;
    animation: checkmarkPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.error-icon {
    font-size: 4rem;
    color: #dc3545;
    font-weight: bold;
    line-height: 1;
    animation: shake 0.5s ease-out;
}

.verify-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.verify-details {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0 0.5rem;
    animation: fadeInUp 0.5s ease-out backwards;
}

.detail-row:nth-child(1) {
    animation-delay: 0.1s;
}

.detail-row:nth-child(2) {
    animation-delay: 0.2s;
}

.detail-row:nth-child(3) {
    animation-delay: 0.3s;
}

.detail-row:nth-child(4) {
    animation-delay: 0.4s;
}

.detail-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    order: 1;
}

.detail-value {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    order: 2;
    word-break: break-word;
    width: 100%;
    max-width: 300px;
}

.error-message {
    font-size: 1.1rem;
    color: #dc3545;
    margin: 1rem 0 0 0;
    font-weight: 500;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 10px 40px rgba(40, 167, 69, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(40, 167, 69, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }
    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .verify-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .verify-card .card-body {
        padding: 2rem 1.5rem;
    }

    .verify-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .success-icon,
    .error-icon {
        font-size: 3rem;
    }

    .verify-card h4 {
        font-size: 1.2rem;
    }

    .detail-label {
        font-size: 0.8rem;
    }

    .detail-value {
        font-size: 1.05rem;
    }

    /* Mobile-specific improvements */
    .verify-card input {
        font-size: 1.1rem;
        padding: 0.75rem;
        min-height: 50px;
    }

    .verify-card button {
        min-height: 50px;
        font-size: 1.05rem;
    }
}

/* Focus styles for accessibility */
.verify-card input:focus {
    outline: 3px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.verify-card input.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.verify-card input.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
}

.invalid-feedback {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
    text-align: center;
}

/* Loading state for button */
.btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

/* Smooth transitions */
.form-control {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.alert {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
