/* Syriaswiss Eval Form v2.0 - CSS */
.sw-eval-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    overflow: hidden;
    font-family: 'Cairo', sans-serif !important;
    border: 1px solid #eaeaea;
.sw-eval-header {
    background: #000000;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.sw-header-logo {
    max-width: 140px;
    height: auto;
    display: block;
}

.sw-header-text {
    text-align: right;
}

.sw-eval-header h2 {
    color: var(--gold, #D4AF37);
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.sw-eval-header p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin: 0;
}

.sw-eval-progress {
    background: #f9f9f9;
    padding: 15px 30px;
    position: relative;
    border-bottom: 1px solid #eaeaea;
}

.progress-bar {
    position: absolute;
    bottom: -1px;
    right: 0;
    height: 3px;
    background: var(--gold, #D4AF37);
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-steps .step {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
    position: relative;
}

.progress-steps .step.active {
    color: var(--navy, #0B111A);
}

.sw-eval-form {
    padding: 40px;
    min-height: 400px;
}

.sw-step-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.sw-step-pane.active {
    display: block;
}

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

.sw-step-pane h3 {
    font-size: 1.3rem;
    color: var(--navy, #0B111A);
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.brand-card-sel input[type="radio"] { display: none; }
.brand-card-sel { cursor: pointer; display: block; }
.brand-card-inner {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 5px 10px;
    text-align: center;
    transition: all 0.3s ease;
    background: #ffffff;
    /* align-items: center; */
}

.brand-card-inner img {
    height: 60px;
    width: 150px;
    margin-bottom: 10px;
    transition: filter 0.3s;
    object-fit: contain;
    display: inline;
}

.brand-icon-other {
    font-size: 24px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}

.brand-card-sel input[type="radio"]:checked + .brand-card-inner {
    border-color: var(--gold, #D4AF37);
    background: #fff;
    box-shadow: 0 5px 15px rgba(212,175,55,0.15);
}

.brand-card-sel input[type="radio"]:checked + .brand-card-inner img {
    transform: scale(1.1);
}

.brand-card-sel input[type="radio"]:checked ~ .brand-card-name {
    color: var(--navy, #0B111A);
}

/* Forms */
.sw-form-group { margin-bottom: 20px; }
.sw-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy, #0B111A);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid transparent !important;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: 0.3s;
    font-family: 'Cairo', sans-serif !important;
    background: #fafafa;
    -webkit-appearance: none;
    appearance: none;
    animation: premium-glow 3s infinite alternate;
}

@keyframes premium-glow {
    0% { box-shadow: 0 0 0 2px #D4AF37, 0 0 10px rgba(212, 175, 55, 0.6); }
    50% { box-shadow: 0 0 0 2px #5DADE2, 0 0 10px rgba(93, 173, 226, 0.6); }
    100% { box-shadow: 0 0 0 2px #D4AF37, 0 0 10px rgba(212, 175, 55, 0.6); }
}

.form-control:focus {
    border-color: var(--gold, #D4AF37) !important;
    background: #fff;
    outline: none;
    animation: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1) !important;
}

.error-shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    border-color: #e74c3c !important;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.sw-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent !important;
    border-radius: 8px;
    background: #fafafa;
    font-size: 1rem;
    transition: 0.3s;
    font-family: 'Cairo', sans-serif !important;
    -webkit-appearance: none;
    appearance: none;
    animation: premium-glow 3s infinite alternate;
}

#sw_phone {
    padding-left: 100px !important;
    text-align: left;
}

.sw-input:focus {
    border-color: var(--gold, #D4AF37);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212,175,55,0.1);
    animation: none;
}

/* Condition Grid */
.cond-grid, .channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cond-card input[type="radio"], .channel-card input[type="radio"] { display: none; }
.cond-inner, .channel-inner {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #fafafa;
    transition: 0.3s;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
}

.cond-card input[type="radio"]:checked + .cond-inner, 
.channel-card input[type="radio"]:checked + .channel-inner {
    border-color: var(--gold, #D4AF37);
    background: #fff;
    color: var(--navy, #0B111A);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.text-gold { color: #f1c40f; }
.text-green { color: #2ecc71; }
.text-orange { color: #e67e22; }
.text-red { color: #e74c3c; }

/* Upload Area */
.sw-upload-area {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    margin-bottom: 15px;
}

.sw-upload-area:hover, .sw-upload-area.dragover {
    border-color: var(--gold, #D4AF37);
    background: #fff9e6;
}

.upload-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.sw-upload-area h4 { margin: 0 0 5px; color: var(--navy, #0B111A); }
.sw-upload-area p { margin: 0; color: #888; font-size: 0.85rem; }
.hidden-input {
    position: absolute; top:0; left:0; width:100%; height:100%;
    opacity: 0; cursor: pointer;
}

.preview-container {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;
}
.preview-item {
    width: 80px; height: 80px; border-radius: 8px; overflow: hidden;
    position: relative; border: 1px solid #ddd;
}
.preview-item img {
    width: 100%; height: 100%; object-fit: cover;
}
.preview-item .remove-btn {
    position: absolute; top: 2px; right: 2px;
    background: rgba(0,0,0,0.7); color: #fff;
    border-radius: 50%; width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; cursor: pointer;
}

/* Actions */
.step-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
}

.step-actions.dual {
    justify-content: space-between;
}

.btn-next, .btn-submit {
    background: var(--navy, #0B111A);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; gap: 8px;
    font-family: 'Cairo', sans-serif !important;
}

.btn-next:hover, .btn-submit:hover {
    background: var(--gold, #D4AF37);
    color: #000;
}

.btn-prev {
    background: #f1f1f1;
    color: #555;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; gap: 8px;
    font-family: 'Cairo', sans-serif !important;
}

.btn-prev:hover {
    background: #e1e1e1; color: #000;
}

/* Success */
.success-box { text-align: center; padding: 40px 20px; }
.success-icon-large { font-size: 5rem; color: #2ecc71; margin-bottom: 20px; }
.success-box h3 { font-size: 1.8rem; color: var(--navy, #0B111A); margin-bottom: 10px; }
.success-box p { font-size: 1rem; color: #666; margin-bottom: 30px; }
.btn-wa-direct {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: #25D366; color: #fff; text-decoration: none;
    padding: 15px 30px; border-radius: 8px; font-weight: 700; font-size: 1.1rem;
    transition: 0.3s;
}
.btn-wa-direct:hover { background: #1ebe5a; color:#fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37,211,102,0.3); }

/* iti override for RTL */
.sw-form-group .iti { width: 100%; direction: ltr; }

@media(max-width: 768px) {
    .sw-eval-wrapper {
        border-radius: 12px;
    }
    .sw-eval-header {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .sw-header-text {
        text-align: center;
    }
    .sw-eval-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    .sw-eval-header p {
        font-size: 0.95rem;
    }
    .sw-eval-progress {
        padding: 15px;
    }
    .progress-steps .step {
        font-size: 0.8rem;
        text-align: center;
    }
    .sw-eval-form { 
        padding: 25px 20px; 
    }
    .sw-step-pane h3 {
        font-size: 1.25rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .brand-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    .brand-card-inner {
        padding: 12px 5px;
    }
    .brand-card-inner img {
        height: 55px; 
        width: auto;
        max-width: 100%;
        margin-bottom: 8px;
    }
    .brand-card-name {
        font-size: 0.95rem;
        font-weight: 800;
    }
    
    .cond-grid, .channel-grid { 
        grid-template-columns: 1fr; 
        gap: 12px;
    }
    .cond-inner, .channel-inner {
        padding: 15px;
        font-size: 1rem;
    }
    .form-control, .sw-input {
        padding: 14px 15px;
        font-size: 1rem;
    }
    
    .step-actions.dual {
        flex-direction: column-reverse; 
        gap: 15px;
    }
    .btn-next, .btn-submit, .btn-prev {
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 1.1rem;
    }
}

@media(max-width: 480px) {
    .progress-steps .step {
        font-size: 0.7rem;
    }
    .sw-header-logo {
        max-width: 120px;
    }
}
