/* File Upload Form Styles */
.customer-upload-form {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group label::after {
    content: " *";
    color: #ff0000;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Progress bar */
.upload-progress-container {
    margin-top: 1rem;
    display: none;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 1px;
    position: relative;
    height: 24px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.upload-progress-bar {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    border-radius: 3px;
    transition: width 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.upload-progress-text {
    position: absolute;
    text-align: center;
    width: 100%;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    z-index: 1;
    line-height: 24px;
}

/* File upload zone */
.file-upload-zone {
    border: 2px dashed #ccc;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.file-upload-zone:hover {
    border-color: #4CAF50;
}

.file-upload-zone.dragover {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.file-input-wrapper {
    margin-top: 0.5rem;
    position: relative;
}

.file-input-wrapper input[type="file"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.custom-file-button {
    background-color: #4CAF50;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    margin-top: 1rem;
}

/* File list */
.file-list {
    margin-top: 0.5rem;
    list-style: none;
    padding: 0;
}

.file-list li {
    background: #f5f5f5;
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-list .remove-file {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

/* Form button */
button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
}

button[type="submit"].enabled {
    opacity: 1;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Messages */
.success-message {
    display: none;
    background-color: #dff0d8;
    color: #3c763d;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.error-message {
    display: none;
    background-color: #f2dede;
    color: #a94442;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.field-error {
    color: #a94442;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.total-files {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* File instructions */
.file-instructions {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}
