.photo-uploader {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

.upload-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.upload-area {
    border: 2px dashed #124C34;
    border-radius: 6px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
    position: relative;
}

.upload-area:hover {
    border-color: #1A7350;
    background-color: #f0f7f4;
}

.upload-area.dragover {
    border-color: #1A7350;
    background-color: #f0f7f4;
}

.upload-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24" fill="none" stroke="%23124C34" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>');
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 10px;
}

.upload-instructions h3 {
    margin: 10px 0;
    color: #124C34;
    font-size: 20px;
}

.upload-instructions p {
    color: #555;
    margin-bottom: 0;
}

.file-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 10;
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.preview-item {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-filename {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    background: rgba(18, 76, 52, 0.8);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(18, 76, 52, 0.8);
    color: #fff;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-file:hover {
    background: rgba(204, 51, 51, 0.9);
}

.upload-status {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.upload-status.success {
    background-color: #e7f7ee;
    color: #1A7350;
    border: 1px solid #c3e6d3;
}

.upload-status.error {
    background-color: #f8d7da;
    color: #dc3545;
    border: 1px solid #f5c6cb;
}

.upload-status.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.upload-status.info {
    background-color: #e7f7ee;
    color: #124C34;
    border: 1px solid #c3e6d3;
}

.upload-button {
    background-color: #124C34;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.upload-button:hover {
    background-color: #1A7350;
}

.upload-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.upload-actions {
    text-align: center;
}

/* For the select button, if present */
.select-photos-button {
    display: block;
    background-color: #124C34;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 15px auto 0;
}

.select-photos-button:hover {
    background-color: #1A7350;
}

/* Responsive styles */
@media (max-width: 768px) {
    .upload-container {
        padding: 20px;
    }
    
    .preview-item {
        width: calc(50% - 10px);
        height: 120px;
    }
}

@media (max-width: 480px) {
    .preview-item {
        width: 100%;
        height: 180px;
    }
}