.area-section {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

.measurement-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background-color: white;
}

.photo-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    padding: 1.5rem;
    text-align: center;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.photo-upload-area:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.photo-upload-area.drag-over {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    border-width: 3px;
}

.photo-upload-area i {
    font-size: 3rem;
    color: #6c757d;
}

.photo-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-remove {
    color: #dc3545;
    cursor: pointer;
}

.btn-remove:hover {
    color: #bb2d3b;
}

.collapse-header {
    cursor: pointer;
    user-select: none;
}

.area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.photo-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
}

.photo-container {
    position: relative;
    display: inline-block;
}

.photo-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

.photo-remove:hover {
    background: #bb2d3b;
    transform: scale(1.1);
}

.no-photos-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.note-item {
    border-left: 3px solid #0d6efd;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background-color: white;
    border-radius: 0.25rem;
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.note-comment {
    margin: 0;
    white-space: pre-wrap;
}

.project-status-badge {
    font-size: 0.875rem;
    padding: 0.35rem 0.65rem;
}

/* Select2 Bootstrap 5 adjustments */
.select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px);
}

.select2-container--bootstrap-5 .select2-selection {
    border-color: #dee2e6;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 0.75rem);
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #dee2e6;
}