.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10001;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    max-height: 92vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bottom-sheet-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #666;
}

.otp-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.otp-input {
    width: 48px;
    height: 56px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    transition: border-color 0.2s ease;
}

.otp-input:focus {
    border-color: #2563eb;
    outline: none;
}

.otp-input.error {
    border-color: #dc2626;
}

.timer-container {
    text-align: center;
    margin-bottom: 24px;
    color: #666;
}

.resend-button {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.resend-button:disabled {
    color: #999;
    cursor: not-allowed;
}

.verify-button {
    width: 100%;
    padding: 14px;
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.verify-button:hover {
    background-color: hsl(var(--accent) / 0.9);
}

.verify-button:disabled {
    background-color: hsl(var(--accent) / 0.5);
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .bottom-sheet {
        padding: 20px;
    }
    
    .otp-input {
        width: 44px;
        height: 52px;
        font-size: 22px;
    }
}

/* PAN Details Form Styles */
.pan-details-form {
    padding: 0 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid hsl(var(--border));
    border-radius: 8px;
    font-size: 16px;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: hsl(var(--accent));
}

.form-input::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-input.error {
    border-color: hsl(var(--destructive));
}

@media (max-width: 640px) {
    .form-input {
        padding: 10px;
        font-size: 15px;
    }
}

/* FAQ Styles */
[data-state] {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 1px 2px hsl(var(--shadow) / 0.1);
}

[data-state] button {
    width: 100%;
    text-align: left;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: hsl(var(--foreground));
    transition: all 0.2s ease;
}

[data-state] button:hover {
    background-color: hsl(var(--muted) / 0.3);
}

[data-state] button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: hsl(var(--muted-foreground));
    flex-shrink: 0;
}

[data-state] [role="region"] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    line-height: 1.5;
    padding: 0 16px;
}

[data-state="open"] [role="region"] {
    padding-bottom: 16px;
}

[data-state="open"] button svg {
    transform: rotate(180deg);
}

@media (max-width: 640px) {
    [data-state] button {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    [data-state] [role="region"] {
        font-size: 13px;
    }
}

/* Phone Input Styles */
input[type="tel"] {
    font-family: system-ui, -apple-system, sans-serif;
}

input[type="tel"].error {
    border-color: hsl(var(--destructive));
}

input[type="tel"].error:focus {
    border-color: hsl(var(--destructive));
    box-shadow: 0 0 0 2px hsl(var(--destructive)/0.2);
}

/* Mobile Styles */
@media (max-width: 640px) {
    input[type="tel"] {
        font-size: 15px;
    }
}

/* Success Icon */
.success-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    animation: fadeIn 0.2s ease-in-out;
}

/* Input Container */
.form-group {
    position: relative;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.2s ease-in-out;
}

/* Mobile Styles */
@media (max-width: 640px) {
    .success-icon {
        right: 10px;
    }
    
    input[type="tel"] {
        font-size: 15px;
        padding-right: 32px;
    }
} 