.ispo-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid #f1f5f9;
}

.ispo-form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.ispo-form-header h3 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.ispo-form-header p {
    color: #64748b;
    margin: 0;
    font-size: 1rem;
}

.ispo-form-group {
    margin-bottom: 1.5rem;
}

.ispo-form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #334155;
    font-weight: 600;
    font-size: 0.925rem;
}

.ispo-form-input,
.ispo-form-select,
.ispo-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.ispo-form-input:focus,
.ispo-form-select:focus,
.ispo-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.ispo-form-input::placeholder {
    color: #94a3b8;
}

.ispo-form-file-input {
    padding: 0.5rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.ispo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.ispo-btn-primary {
    background-color: #1C3D1E;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.ispo-btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
}

.ispo-btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

.ispo-btn-secondary:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.ispo-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.ispo-webcam-container {
    position: relative;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

#ispo-webcam, #ispo-selfie-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ispo-face-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 200px;
    border: 2px dashed rgba(255, 255, 255, 0.7);
    border-radius: 50% 50% 40% 40%;
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.ispo-order-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .ispo-order-item-row {
        grid-template-columns: 1fr;
    }
}

.ispo-progress-container {
    width: 100%;
    background-color: #e2e8f0;
    border-radius: 8px;
    margin-top: 1rem;
    overflow: hidden;
    display: none;
}

.ispo-progress-bar {
    width: 0%;
    height: 8px;
    background-color: #1C3D1E;
    transition: width 0.2s ease;
}