/* 
 * Become a Client Page Styles
 * 
 * Custom styles specific to the become-a-client page
 * These styles complement the design system and Tailwind CSS
 */

/* Page-specific animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.become-a-client-page-main {
    animation: fadeInUp 0.8s ease-out;
}

/* Animation delays for staggered effects */
.animation-delay-2000 {
    animation-delay: 2s;
}

/* Grid pattern background */
.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Form step transitions */
.form-step {
    animation: fadeInUp 0.5s ease-out;
}

/* Custom checkbox and radio styles */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    accent-color: #B8030D;
}

/* Signature input styling */
.font-signature {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

/* Progress bar animation */
#progress-bar {
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar for agreement text */
.max-h-64::-webkit-scrollbar {
    width: 6px;
}

.max-h-64::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.max-h-64::-webkit-scrollbar-thumb {
    background: rgba(184, 3, 13, 0.5);
    border-radius: 3px;
}

.max-h-64::-webkit-scrollbar-thumb:hover {
    background: rgba(184, 3, 13, 0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Padding is handled by Tailwind on the section; no extra wrapper padding needed */
    .font-signature {
        font-size: 1.25rem;
    }
}

/* Focus states for accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #B8030D;
    outline-offset: 2px;
}

/* Button hover effects */
button {
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}
