/* עיצוב להנחיות */
.instructions-text {
    font-size: 18px;
    color: #4a3c6e;
    font-weight: 500;
    text-align: center;
    margin: 18px 0 18px 0;
    line-height: 1.8;
}
/* הדגמת מנח טלפון */
.phone-demo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 0 0;
}
.phone-demo-wrapper svg {
    margin-bottom: 4px;
}
.phone-demo-text {
    font-size: 14px;
    color: #764ba2;
    font-weight: 500;
    text-align: center;
}
.ilana-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 18px 0 18px 0;
}

 .ilana-img {
    width: 100px;
    height: 100px;
    max-width: 30vw;
    max-height: 30vw;
    min-width: 60px;
    min-height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #764ba2;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
    background: #fff;
    display: block;
    margin: 0 auto;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    direction: rtl;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    padding: 30px;
    animation: slideUp 0.5s ease;
    direction: rtl;
    text-align: right;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 30px;
    direction: rtl;
}

.header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 14px;
}

.upload-section {
    text-align: center;
    margin-bottom: 30px;
    direction: rtl;
}

.upload-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    width: 100%;
    justify-content: center;
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.upload-btn:active {
    transform: translateY(0);
}

.upload-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 24px;
}

.info-text {
    margin-top: 15px;
    color: #999;
    font-size: 13px;
}

.progress-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.progress-bar {
    background: #e9ecef;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 6px;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: #667eea;
    font-size: 16px;
    margin-bottom: 8px;
}

.status-text {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.file-list {
    max-height: 400px;
    overflow-y: auto;
}

.file-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: #e9ecef;
}

.file-name {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.file-status {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.file-status.success {
    color: #28a745;
}

.file-status.error {
    color: #dc3545;
}

/* Mobile optimizations */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
        border-radius: 15px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .upload-btn {
        padding: 16px 30px;
        font-size: 16px;
    }

    .ilana-img {
        width: 150px;
        height: 150px;
        max-width: 28vw;
        max-height: 28vw;
        min-width: 45px;
        min-height: 45px;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .upload-btn {
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
}
