.allo-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.allo-modal-content {
    background: #ffffff;
    margin: 4% auto;
    padding: 40px 35px;
    width: 92%;
    max-width: 580px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.allo-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    text-align: center;
}

.progress-steps .step {
    flex: 1;
    padding-bottom: 12px;
    font-size: 15px;
    color: #86868b;
    border-bottom: 3px solid #e5e5e7;
    transition: all 0.3s ease;
}

.progress-steps .step.active {
    color: #1d1d1f;
    font-weight: 600;
    border-bottom: 3px solid #0071e3;
}

/* Form Elements - Apple Style */
h2 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
}

label {
    display: block;
    margin: 20px 0 8px;
    font-weight: 500;
    color: #1d1d1f;
}

select, input[type="text"], input[type="tel"], input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #d2d2d7;
    border-radius: 10px;
    font-size: 16px;
    background: #f9f9f9;
    transition: border 0.2s;
}

select:focus, input:focus {
    outline: none;
    border-color: #0071e3;
    background: #fff;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Condition Buttons */
.condition-options {
    display: flex;
    gap: 12px;
    margin: 15px 0 25px;
}

.condition-btn {
    flex: 1;
    padding: 18px 12px;
    text-align: center;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.25s;
}

.condition-btn input:checked + span,
.condition-btn:hover {
    border-color: #0071e3;
    background: #f0f8ff;
}

/* Image Preview */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.preview-item {
    position: relative;
}

.preview-item img {
    width: 100%;
    height: 105px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.remove-img {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff3b30;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

/* Estimated Value Box */
.estimated-value-box {
    background: #f5f5f7;
    padding: 20px;
    border-radius: 14px;
    margin: 25px 0;
    text-align: center;
    border: 1px solid #e5e5e7;
}

.estimated-value-box strong {
    color: #1d1d1f;
}

/* Navigation */
.form-navigation {
    margin-top: 35px;
    display: flex;
    gap: 12px;
}

.button {
    flex: 1;
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 999px;
    font-weight: 600;
}

.apple-tradein-btn {
    background: #0071e3;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
}

.apple-tradein-btn:hover {
    background: #0077ed;
}

/* Success Screen */
.success-content {
    text-align: center;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.note {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.checkbox-label {
    margin: 20px 0;
    font-size: 15px;
}