/* Bulk Image Order Form Styles */

:root {
    --bio-primary: #3b82f6;
    --bio-primary-hover: #2563eb;
    --bio-danger: #ef4444;
    --bio-danger-hover: #dc2626;
    --bio-secondary: #10b981;
    --bio-secondary-hover: #059669;
    --bio-border: #e5e7eb;
    --bio-bg: #f9fafb;
    --bio-text: #1f2937;
    --bio-text-light: #6b7280;
    --bio-radius: 8px;
    --bio-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bio-form-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--bio-font);
    background: #ffffff;
    border-radius: var(--bio-radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 30px;
}

.bio-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--bio-radius);
    font-weight: 500;
}

.bio-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.bio-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.bio-form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bio-border);
}

.bio-form-header label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--bio-text);
    margin-bottom: 8px;
}

.bio-form-header input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid var(--bio-border);
    border-radius: var(--bio-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--bio-bg);
}

.bio-form-header input[type="text"]:focus {
    outline: none;
    border-color: var(--bio-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #fff;
}

.bio-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.bio-item-row {
    display: flex;
    align-items: stretch;
    background-color: var(--bio-bg);
    border: 1px solid var(--bio-border);
    border-radius: var(--bio-radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bio-item-row:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.bio-row-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bio-primary);
    color: white;
    font-weight: 700;
    font-size: 18px;
    width: 50px;
    flex-shrink: 0;
}

.bio-row-fields {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    padding: 15px;
    gap: 15px;
    align-items: flex-end;
}

.bio-field-group {
    flex: 1;
    min-width: 200px;
}

.bio-field-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--bio-text-light);
    margin-bottom: 5px;
}

.bio-field-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--bio-border);
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s;
}

.bio-field-group input[type="text"]:focus {
    outline: none;
    border-color: var(--bio-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.bio-field-group input[type="file"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px dashed var(--bio-border);
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.bio-field-group input[type="file"]::file-selector-button {
    background-color: var(--bio-primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.bio-field-group input[type="file"]::file-selector-button:hover {
    background-color: var(--bio-primary-hover);
}

.bio-row-actions {
    margin-left: auto;
}

.bio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--bio-radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.bio-btn-primary {
    background-color: var(--bio-primary);
    color: white;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 20px;
}

.bio-btn-primary:hover {
    background-color: var(--bio-primary-hover);
    transform: translateY(-1px);
}

.bio-btn-secondary {
    background-color: var(--bio-secondary);
    color: white;
}

.bio-btn-secondary:hover {
    background-color: var(--bio-secondary-hover);
}

.bio-btn-danger {
    background-color: var(--bio-danger);
    color: white;
    padding: 8px 15px;
}

.bio-btn-danger:hover {
    background-color: var(--bio-danger-hover);
}

.bio-form-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--bio-border);
}

@media (max-width: 640px) {
    .bio-row-fields {
        flex-direction: column;
        align-items: stretch;
    }
    .bio-row-actions {
        margin-left: 0;
        margin-top: 10px;
    }
    .bio-row-number {
        width: 40px;
        font-size: 16px;
    }
}
