/* Application Page Styles - Beeline-inspired clean design */

/* Force light mode regardless of system preferences */
:root {
    --bedrock-purple: #5B21B6;
    --bedrock-purple-light: #7C3AED;
    --bedrock-purple-dark: #4C1D95;
    --bedrock-text: #000000;
    --bedrock-text-light: #64748B;
    --bedrock-border: #E2E8F0;
    color-scheme: light only;
}

html {
    color-scheme: light only;
}

body {
    background-color: #ffffff;
    color-scheme: light only;
}

/* Header */
.app-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--bedrock-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.app-header-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 32px 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
}

.app-back-btn {
    position: absolute;
    left: 40px;
    top: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bedrock-text);
    transition: color 0.2s ease;
}

.app-back-btn:hover {
    color: var(--bedrock-purple);
}

.app-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.app-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #E2E8F0;
    border-radius: 3px;
    overflow: hidden;
}

.app-progress-fill {
    height: 100%;
    background-color: var(--bedrock-purple);
    width: 0%;
    transition: width 0.4s ease;
}

/* Main Content */
.app-main {
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 80px;
}

.app-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Step Container */
.app-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.app-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-content {
    text-align: center;
}

/* Title and Subtitle */
.app-title {
    font-size: 56px;
    font-weight: 400;
    color: var(--bedrock-text);
    margin-bottom: 24px;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 22px;
    font-weight: 300;
    color: var(--bedrock-text-light);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Option Buttons */
.app-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.app-option {
    background-color: #ffffff;
    border: 2px solid var(--bedrock-border);
    border-radius: 20px;
    padding: 32px 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Neue Haas Display', sans-serif;
    width: 100%;
}

.app-option:hover {
    border-color: var(--bedrock-purple);
}

.app-option.selected {
    border-color: var(--bedrock-purple);
    background-color: #F5F3FF;
}

.app-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-option-text {
    font-size: 24px;
    font-weight: 400;
    color: var(--bedrock-text);
    text-align: left;
}

.app-option-radio {
    width: 24px;
    height: 24px;
    border: 2px solid var(--bedrock-border);
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.app-option:hover .app-option-radio {
    border-color: var(--bedrock-purple);
}

.app-option.selected .app-option-radio {
    border-color: var(--bedrock-purple);
    background-color: var(--bedrock-purple);
}

.app-option.selected .app-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
}

/* Option with Text Group and Badge */
.app-option-with-badge .app-option-content {
    align-items: flex-start;
}

.app-option-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    max-width: 60%;
    align-items: flex-start;
}

.app-option-text-group .app-option-text {
    margin: 0;
    padding: 0;
}

.app-option-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--bedrock-text-light);
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-align: left;
}

.app-option-badge {
    padding: 4px 12px;
    background-color: #FEE2E2;
    color: #991B1B;
    font-size: 11px;
    font-weight: 500;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
    margin-right: 12px;
}

.app-option-badge-blue {
    background-color: #DBEAFE;
    color: #1E40AF;
}

/* Form Inputs */
.app-form {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.app-input-group {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.app-input-single {
    margin-bottom: 32px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.app-input {
    flex: 1;
    background-color: #ffffff;
    border: 2px solid var(--bedrock-border);
    border-radius: 16px;
    padding: 20px 24px;
    font-family: 'Neue Haas Display', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--bedrock-text);
    transition: border-color 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.app-input:focus {
    outline: none;
    border-color: var(--bedrock-purple);
}

.app-input::placeholder {
    color: #94A3B8;
}

.app-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    padding-right: 56px;
    cursor: pointer;
    color: #94A3B8;
}

.app-select:valid {
    color: var(--bedrock-text);
}

.app-select option {
    color: var(--bedrock-text);
}

.app-select option[value=""] {
    color: #94A3B8;
}

.app-input-small {
    flex: 0 0 140px;
}

.app-input-date {
    cursor: pointer;
    position: relative;
    max-width: 100%;
    width: 100%;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box;
}

.app-input-date::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    position: absolute;
    right: 20px;
}

.app-input-date::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Show placeholder-like text for empty date inputs */
.app-input-date:not(:focus):not(:valid),
.app-input-date::-webkit-datetime-edit-text,
.app-input-date::-webkit-datetime-edit-month-field:not([aria-valuenow]),
.app-input-date::-webkit-datetime-edit-day-field:not([aria-valuenow]),
.app-input-date::-webkit-datetime-edit-year-field:not([aria-valuenow]) {
    color: #94A3B8;
}

/* When date input has no value, show grey text */
.app-input-date:invalid {
    color: #94A3B8 !important;
}

.app-input-date:valid {
    color: var(--bedrock-text);
}

/* Custom placeholder for date input using pseudo-element */
.app-date-wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.app-input-date:invalid:not(:focus)::before {
    content: attr(placeholder);
    color: #94A3B8;
    position: absolute;
}

/* Input with Toggle */
.app-input-with-toggle {
    position: relative;
    margin-bottom: 32px;
}

.app-input-toggle {
    padding-right: 80px;
}

.app-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-68%);
    background-color: #F1F5F9;
    border: none;
    border-radius: 10px;
    padding: 6px;
    display: flex;
    gap: 4px;
    cursor: pointer;
}

.toggle-option {
    padding: 8px 16px;
    font-family: 'Neue Haas Display', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #64748B;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.toggle-option.active {
    background-color: var(--bedrock-purple);
    color: #ffffff;
}

/* Continue Button */
.app-continue-btn {
    width: 100%;
    background-color: var(--bedrock-purple);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 20px 32px;
    font-family: 'Neue Haas Display', sans-serif;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.app-continue-btn:hover {
    background-color: var(--bedrock-purple-dark);
}

.app-continue-btn:disabled {
    background-color: #CBD5E1;
    cursor: not-allowed;
}

/* Secondary Button */
.app-secondary-btn {
    width: 100%;
    background-color: transparent;
    color: var(--bedrock-text);
    border: 2px solid var(--bedrock-border);
    border-radius: 16px;
    padding: 20px 32px;
    font-family: 'Neue Haas Display', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin-top: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

/* DSCR Notice Step Styles */
.app-notice-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.app-notice-icon svg {
    color: var(--bedrock-purple);
    width: 64px;
    height: 64px;
}

.app-subtitle-notice {
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 32px auto;
}

.app-subtitle-notice strong {
    color: var(--bedrock-purple);
}

.app-notice-details {
    background-color: #F8FAFC;
    border: 1px solid var(--bedrock-border);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 32px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.app-notice-details p {
    font-family: 'Neue Haas Display', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--bedrock-text);
    margin: 0 0 12px 0;
}

.app-notice-details ul {
    margin: 0;
    padding-left: 20px;
}

.app-notice-details li {
    font-family: 'Neue Haas Display', sans-serif;
    font-size: 16px;
    color: #64748B;
    margin-bottom: 8px;
    line-height: 1.5;
}

.app-notice-details li:last-child {
    margin-bottom: 0;
}

.app-notice-details li strong {
    color: var(--bedrock-text);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.app-secondary-btn:hover {
    border-color: var(--bedrock-purple);
    color: var(--bedrock-purple);
}

/* Contact Form */
.app-contact-form {
    max-width: 700px;
    margin: 0 auto 32px;
}

.app-input-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.app-input-half {
    flex: 1;
}

.app-input:not(.app-input-half) {
    margin-bottom: 16px;
}

/* Checkbox */
.app-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    cursor: pointer;
}

.app-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--bedrock-border);
    border-radius: 4px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: var(--bedrock-purple);
}

.app-checkbox-text {
    font-size: 14px;
    color: var(--bedrock-text-light);
    line-height: 1.5;
}

.app-terms {
    font-size: 14px;
    color: var(--bedrock-text-light);
    text-align: center;
    margin-bottom: 0;
}

.app-terms a {
    color: var(--bedrock-purple);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header-container {
        padding: 20px 20px 16px;
        gap: 16px;
    }

    .app-back-btn {
        left: 20px;
        top: 20px;
        padding: 6px;
    }
    
    .logo-img {
        height: 32px;
    }

    .app-container {
        padding: 0 24px;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .app-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .app-form {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .app-input-single {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
    
    .app-date-wrapper {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
    
    .app-input-date {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        flex: none;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }

    .app-title {
        font-size: 40px;
        line-height: 1.2;
    }

    .app-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
        line-height: 1.5;
    }

    .app-option {
        padding: 24px 24px;
    }

    .app-option-text {
        font-size: 20px;
    }

    .app-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .app-input-small {
        flex: 1;
        width: 100%;
    }
    
    .app-input {
        font-size: 16px;
        padding: 18px 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .app-input-date {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .app-input-single {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .app-form {
        max-width: 100%;
        overflow: hidden;
    }
    
    .app-input-date {
        max-width: 100%;
        width: 100%;
    }
    
    .app-input-single {
        max-width: 100%;
    }

    .app-toggle-btn {
        right: 6px;
    }

    .toggle-option {
        padding: 6px 12px;
        font-size: 14px;
    }

    .app-input-row {
        flex-direction: column;
        gap: 12px;
    }

    .app-input-half {
        flex: 1;
        width: 100%;
    }

    .app-main {
        padding-top: 130px;
    }
    
    .app-continue-btn {
        font-size: 18px;
    }
    
    /* Google Places autocomplete on mobile */
    #propertyAddressContainer,
    #searchAreaContainer {
        width: 100%;
        display: block;
        position: relative;
        will-change: auto;
    }
    
    #propertyAddressContainer gmp-place-autocomplete,
    #searchAreaContainer gmp-place-autocomplete {
        width: 100% !important;
        flex: none;
        position: relative;
    }
    
    /* Prevent position shifting on input focus */
    .app-input-group {
        position: relative;
        transform: translateZ(0);
    }
    
    .app-step {
        position: relative;
        transform: translateZ(0);
    }
    
    .app-form {
        position: relative;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .app-container {
        padding: 0 20px !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    .app-content {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .app-form {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* NUCLEAR FIXED PIXEL WIDTH for date inputs on mobile */
    /* iPhone 16 Plus = 430px width, minus 40px padding = 390px max */
    #step4-closing-date .app-form {
        max-width: 350px !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    #step4-closing-date .app-input-single,
    #step4-closing-date .app-date-wrapper {
        max-width: 350px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto 32px auto !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    #step4-closing-date .app-input-date,
    #step4-closing-date input[type="date"] {
        max-width: 350px !important;
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        display: block !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }
    
    .app-title {
        font-size: 28px;
    }

    .app-subtitle {
        font-size: 16px;
    }

    .app-option-text {
        font-size: 18px;
    }
    
    .app-option-subtitle {
        font-size: 14px;
    }
    
    .app-option-badge {
        font-size: 10px;
        padding: 3px 8px;
        margin-right: 8px;
    }
    
    .app-input {
        font-size: 16px !important;
        padding: 16px 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .app-input-single {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .app-date-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .app-input-date {
        font-size: 16px !important;
        padding: 16px 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block !important;
    }
    
    .app-input-date::-webkit-calendar-picker-indicator {
        right: 16px;
    }
    
    .app-continue-btn,
    .app-secondary-btn {
        font-size: 16px;
        padding: 16px 32px;
    }
    
    .app-option {
        padding: 20px 20px;
    }
    
    .app-option-text-group {
        max-width: 70%;
    }
    
    .app-checkbox-text {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .app-terms {
        font-size: 12px;
    }
    
    /* Ensure Google autocomplete containers are full width on small mobile */
    #propertyAddressContainer,
    #searchAreaContainer {
        width: 100% !important;
        position: relative;
        transform: translateZ(0);
    }
    
    /* Prevent layout shift on keyboard open */
    .app-content {
        position: relative;
        transform: translateZ(0);
    }
    
    /* Prevent body scroll when inputs are focused on mobile */
    body.input-focused {
        position: fixed;
        width: 100%;
        overflow: hidden;
    }
}

/* Google Places Autocomplete Styling */
/* Styles are injected into Shadow DOM via JavaScript hack */
gmp-place-autocomplete {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

/* Ensure containers don't add extra space */
#propertyAddressContainer,
#searchAreaContainer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    transform: translateZ(0); /* Force GPU acceleration to prevent shifting */
    backface-visibility: hidden; /* Prevent flickering/shifting on mobile */
}

#propertyAddressContainer gmp-place-autocomplete,
#searchAreaContainer gmp-place-autocomplete {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink properly */
}

/* Make sure app-input-group items align properly */
.app-input-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.app-input-group > * {
    flex-shrink: 0;
}

.app-input-group #propertyAddressContainer {
    flex: 1;
    min-width: 0;
}

/* Style the dropdown suggestions */
.pac-container {
    background-color: #ffffff;
    border: 1px solid var(--bedrock-border);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    font-family: 'Neue Haas Display', -apple-system, BlinkMacSystemFont, sans-serif;
    z-index: 10000;
}

.pac-item {
    padding: 12px 16px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    color: var(--bedrock-text);
    line-height: 1.4;
}

.pac-item:hover {
    background-color: #F8F9FA;
}

.pac-item-selected {
    background-color: #F8F9FA;
}

.pac-icon {
    display: none;
}

.pac-item-query {
    color: var(--bedrock-text);
    font-size: 16px;
    font-weight: 500;
}

.pac-matched {
    color: var(--bedrock-purple);
    font-weight: 600;
}

/* Success Page (Step 13) */
.app-success-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.app-success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bedrock-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    margin: 0 auto 32px;
}

.app-success-headline {
    margin-bottom: 16px;
}

.app-success-subtitle {
    font-size: 22px;
    color: var(--bedrock-text-light);
    margin-bottom: 48px;
    line-height: 1.4;
}

.app-success-section {
    background-color: #F8F9FA;
    border-radius: 16px;
    padding: 40px 32px;
    margin-bottom: 32px;
}

.app-success-section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--bedrock-text);
    margin-bottom: 32px;
}

.app-success-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.app-success-timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.app-success-timeline-number {
    width: 40px;
    height: 40px;
    background-color: var(--bedrock-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.app-success-timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--bedrock-text);
    margin-bottom: 6px;
}

.app-success-timeline-content p {
    font-size: 18px;
    color: var(--bedrock-text-light);
    line-height: 1.4;
}

.app-success-contact {
    margin-bottom: 32px;
}

.app-success-contact-text {
    font-size: 18px;
    color: var(--bedrock-text);
    margin-bottom: 8px;
}

.app-success-contact-info {
    font-size: 20px;
    font-weight: 600;
    color: var(--bedrock-text);
}

.app-success-contact-info a {
    color: var(--bedrock-purple);
    text-decoration: none;
    transition: color 0.2s ease;
}

.app-success-contact-info a:hover {
    color: var(--bedrock-purple-light);
}

/* Responsive adjustments for success page */
@media (max-width: 768px) {
    .app-success-icon {
        width: 64px;
        height: 64px;
        font-size: 36px;
        margin-bottom: 24px;
    }

    .app-success-headline {
        font-size: 40px;
    }

    .app-success-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .app-success-section {
        padding: 28px 24px;
    }

    .app-success-section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .app-success-timeline-content h3 {
        font-size: 18px;
    }

    .app-success-timeline-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .app-success-icon {
        width: 56px;
        height: 56px;
        font-size: 32px;
    }

    .app-success-headline {
        font-size: 32px;
    }

    .app-success-section {
        padding: 24px 20px;
    }

    .app-success-timeline-item {
        gap: 16px;
    }

    .app-success-timeline-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* ============================================
   VALIDATION ERROR STYLES
   ============================================ */

.validation-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #FEF2F2 0%, #FFF5F5 100%);
    border: 1px solid #FECACA;
    border-left: 4px solid #DC2626;
    border-radius: 12px;
    color: #991B1B;
    font-size: 14px;
    line-height: 1.5;
    animation: slideIn 0.3s ease-out, shake 0.4s ease-in-out 0.1s;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}

.validation-error svg {
    flex-shrink: 0;
    margin-top: 1px;
    stroke: #DC2626;
}

.validation-error span {
    flex: 1;
    font-family: 'Neue Haas Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 450;
}

.input-error {
    border-color: #DC2626 !important;
    background-color: #FFFBFB !important;
}

.input-error:focus {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Validation error responsive */
@media (max-width: 768px) {
    .validation-error {
        padding: 12px 14px;
        font-size: 13px;
        gap: 8px;
    }
    
    .validation-error svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .validation-error {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 10px;
    }
}

