.a2b-container {
    max-width: 700px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.a2b-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.a2b-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.5px;
}

.a2b-badge {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
}

.a2b-subtitle {
    color: #64748B;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.5;
}

.a2b-field {
    margin-bottom: 20px;
}

.a2b-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.a2b-field input,
.a2b-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 15px;
    color: #0F172A;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #FAFAFA;
}

.a2b-field input:focus,
.a2b-field textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: #FFFFFF;
}

.a2b-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #0F172A 0%, #4F46E5 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.a2b-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}

.a2b-btn-primary:active {
    transform: translateY(0);
}

.a2b-btn-primary small {
    font-weight: 500;
    opacity: 0.8;
    font-size: 13px;
}

.a2b-btn-primary:disabled {
    background: #94A3B8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.a2b-status {
    margin-top: 30px;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.a2b-status-text {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
}

.a2b-progress-bar {
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.a2b-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4F46E5, #06B6D4);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.a2b-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.a2b-locked {
    text-align: center;
    padding: 40px;
    background: #F8FAFC;
    border-radius: 12px;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

.a2b-locked a {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 600;
}

.a2b-locked a:hover {
    text-decoration: underline;
}

/* Result preview styling */
#a2b-result {
    margin-top: 30px;
    animation: fadeIn 0.5s ease-in;
}