h3.h5.fw-bold.text-primary.mb-3 {
    color: #1d5b18 !important;
}
.user-profile-container {
    max-width: 100%;
    padding: 0;
}

/* Container adjustments for wider layout */
.user-profile-container .container {
    max-width: 1400px;
}

/* Profile Header */
.profile-header {
    margin-bottom: 3rem;
}

.profile-banner {
    height: 450px;
    object-fit: cover;
}

.banner-upload-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-container:hover .banner-upload-overlay {
    opacity: 1;
}

.profile-picture-section {
    margin-top: -120px;
}

.profile-picture {
    width: 200px;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.profile-pic-upload-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-pic-container:hover .profile-pic-upload-overlay {
    opacity: 1;
}

/* Form Styles */
.profile-content {
    padding: 2rem 0;
}

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

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #1d5b18;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-body {
    padding: 1.5rem;
}

/* Badge Styles */
.badge {
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

/* Button Styles */
.btn {
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1d5b18, #1d5b18);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.3);
}

/* Messages */
#profile-messages {
    min-height: 60px;
}

.alert {
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
}

/* Profile Info */
.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.profile-info .h5 {
    font-size: 1.4rem;
}

/* Public Profile - Better Layout */
.profile-public-view .card {
    min-height: 180px;
}

.profile-public-view .card-text.lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Responsive Design */
@media (min-width: 1400px) {
    .user-profile-container .container {
        max-width: 1600px;
    }
    
    .profile-banner {
        height: 500px;
    }
}

@media (min-width: 1200px) {
    .profile-content {
        padding: 2rem 3rem;
    }
}

@media (max-width: 991px) {
    .user-profile-container .container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .profile-banner {
        height: 300px;
    }
    
    .profile-picture-section {
        margin-top: -80px;
    }
    
    .profile-picture {
        width: 150px;
        height: 150px;
    }
    
    .profile-content {
        padding: 1rem 0;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .profile-banner {
        height: 200px;
    }
    
    .profile-picture {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h1 {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Custom utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.rounded-3 {
    border-radius: 0.75rem !important;
}

/* Animation for smooth transitions */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Public view enhancements */
.profile-public-view .profile-info {
    max-width: 800px;
    margin: 0 auto;
}

/* Better spacing for cards in public view */
.profile-public-view .row {
    margin: 0 auto;
}

/* Icons styling */
.bi {
    vertical-align: middle;
}

/* Edit mode specific styling */
.profile-edit-mode .form-actions {
    background: #f8f9fa;
    margin: 2rem -2rem -2rem;
    padding: 2rem;
    border-radius: 0 0 1rem 1rem;
}

/* Ensure full width for banner */
.banner-section {
    margin: 0;
    width: 100%;
}

/* Profile picture positioning */
.profile-pic-container {
    z-index: 10;
    position: relative;
}
/* Add these styles to your existing CSS file */

/* Custom Fields Repeater Styles */
.custom-field-item {
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.custom-field-item:hover {
    border-color: #1d5b18;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.remove-field {
    transition: all 0.2s ease;
}

.remove-field:hover {
    transform: scale(1.05);
}

/* Company Location Styles */
.profile-info .h5.text-muted {
    font-size: 1.3rem;
}

.bi-geo-alt-fill {
    margin-right: 0.5rem;
}

/* Custom Fields Display */
.card-body .row.g-3 .col-md-6 {
    margin-bottom: 0.5rem;
}

.border-bottom {
    border-color: #e9ecef !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-field-item .col-md-2 {
        margin-top: 0.5rem;
    }
    
    .profile-info .h5.text-muted {
        font-size: 1.1rem;
    }
}