/* ===== COMPANY SETTINGS STYLES ===== */
/* Company settings page specific styles */

.company-settings-container .form-label.required::after {
    content: " *";
    color: var(--danger-color);
}

.company-settings-form {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-200);
}

.company-logo-preview {
    max-width: 200px;
    max-height: 100px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-200);
    margin-top: 0.5rem;
}

.company-form-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.company-form-section h5 {
    margin-bottom: 1rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.company-field-group {
    margin-bottom: 1rem;
}

.company-field-group label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* File upload styling */
.file-upload-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload-input {
    width: 100%;
    height: 44px;
    padding: 0.5rem;
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--gray-50);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-input:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.file-upload-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Company details display */
.company-detail-card {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.company-detail-label {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.company-detail-value {
    color: var(--text-color);
    font-size: 1rem;
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.25);
}

.form-control.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive design for company settings */
@media (max-width: 768px) {
    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .company-form-section {
        padding: 1rem;
    }
    
    .company-logo-preview {
        max-width: 150px;
        max-height: 75px;
    }
} 