/* Dashboard Custom Styles */

/* User Profile Box */
.user-profile-box {
    background: #fff;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 30px;
}

.user-profile-box .header {
    padding: 30px 20px 20px;
    background: linear-gradient(to right, #ff385c, #ff5b5c);
    color: #fff;
    position: relative;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

.user-profile-box .header h2 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #fff;
}

.user-profile-box .header h4 {
    font-size: 14px;
    margin: 0 0 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.user-profile-box .profile-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    object-fit: cover;
}

.user-profile-box .detail {
    padding: 0;
}

.user-profile-box .detail ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-profile-box .detail ul li {
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.user-profile-box .detail ul li:last-child {
    border: none;
}

.user-profile-box .detail ul li a {
    display: block;
    padding: 15px 20px;
    color: #535353;
    transition: all 0.3s;
    font-weight: 500;
}

.user-profile-box .detail ul li a:hover {
    background: #f9f9f9;
    color: #ff385c;
}

.user-profile-box .detail ul li a.active {
    background: #f9f9f9;
    color: #ff385c;
}

.user-profile-box .detail ul li a i {
    margin-right: 10px;
    font-size: 16px;
}

/* My Properties */
.my-properties .heading-3 {
    margin-bottom: 20px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 15px;
}

.my-properties-box {
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.my-properties-box .item {
    padding: 15px;
}

.my-properties-box .property-img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.my-properties-box .property-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.my-properties-box .property-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.my-properties-box .property-tag.sale {
    background: #00b06d;
}

.my-properties-box .property-tag.rent {
    background: #ff9b53;
}

.my-properties-box .property-tag-2 {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.my-properties-box .property-tag-2.featured {
    background: #ff385c;
}

.my-properties-box .detail {
    padding: 10px 0 0;
}

.my-properties-box .detail .title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.my-properties-box .detail .price {
    font-size: 18px;
    font-weight: 600;
    color: #ff385c;
    margin-bottom: 10px;
}

.my-properties-box .detail .price span {
    font-weight: 400;
    font-size: 14px;
}

.my-properties-box .detail .location {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.my-properties-box .detail .location i {
    margin-right: 5px;
}

.my-properties-box .facilities-list {
    margin-bottom: 15px;
}

.my-properties-box .facilities-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.my-properties-box .facilities-list ul li {
    display: inline-block;
    margin-right: 15px;
    color: #777;
    font-size: 13px;
}

.my-properties-box .facilities-list ul li span i {
    margin-right: 5px;
}

.my-properties-box .property-footer {
    display: flex;
    justify-content: flex-start;
    padding: 5px 0;
    border-top: 1px solid #f5f5f5;
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

.my-properties-box .property-footer span {
    margin-right: 15px;
}

.my-properties-box .property-footer span i {
    margin-right: 5px;
}

.my-properties-box .buttons-container {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination-box {
    margin-top: 30px;
    text-align: center;
}

/* Forms */
.my-address {
    background: #fff;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 30px;
}

.my-address .heading-3 {
    margin-bottom: 20px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 15px;
}

.submit-address {
    background: #fff;
}

.submit-address .search-contents-sidebar {
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
}

.submit-address .search-contents-sidebar .pad-20 {
    padding: 20px;
}

.submit-address .heading-2 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.submit-address .btn-theme {
    background: #ff385c;
    color: #fff;
    border: none;
}

.submit-address .btn-theme:hover {
    background: #e93456;
}

/* Dashboard content */
.dashboard-content {
    background: #fff;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 30px;
}

.dashboard-content .heading-3 {
    margin-bottom: 20px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 15px;
}

.dashboard-content .ui-item {
    padding: 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.dashboard-content .ui-item .left {
    float: left;
}

.dashboard-content .ui-item .left h4 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #fff;
}

.dashboard-content .ui-item .left p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-content .ui-item .right {
    float: right;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.dashboard-content .ui-item .right i {
    font-size: 20px;
}

.dashboard-content .ui-item.bg-success {
    background: #00b06d;
}

.dashboard-content .ui-item.bg-warning {
    background: #ff9b53;
}

.dashboard-content .ui-item.bg-active {
    background: #2d3954;
}

.dashboard-content .ui-item.bg-dark {
    background: #535353;
}

.dashboard-content .dashboard-header {
    margin-bottom: 20px;
}

.dashboard-content .dashboard-header h4 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.dashboard-content .dashboard-list {
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
}

.dashboard-content .dashboard-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-content .dashboard-list ul li {
    border-bottom: 1px solid #f5f5f5;
}

.dashboard-content .dashboard-list ul li:last-child {
    border: none;
}

.dashboard-content .dashboard-list ul li a {
    display: block;
    padding: 15px 20px;
    color: #535353;
    transition: all 0.3s;
    font-weight: 500;
}

.dashboard-content .dashboard-list ul li a:hover {
    background: #f9f9f9;
    color: #ff385c;
}

.dashboard-content .dashboard-list ul li a i {
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .user-profile-box {
        margin-bottom: 20px;
    }
    
    .my-properties-box .detail {
        padding-top: 20px;
    }
    
    .my-properties-box .property-img img {
        height: 220px;
    }
}

/* Checkbox styles */
.checkbox.checkbox-theme input[type="checkbox"]:checked + label::before {
    background-color: #ff385c;
    border-color: #ff385c;
}

/* Required field marker */
.required {
    color: #ff385c;
}

/* Form submission button */
.btn-theme {
    background: #ff385c;
    color: #fff;
    border: none;
}

.btn-theme:hover {
    background: #e93456;
    color: #fff;
}

/* Success message styling */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Property image hover effect */
.property-img {
    transition: all 0.3s;
}

.property-img:hover {
    transform: scale(1.01);
}

/* Content area */
.content-area-2 {
    padding: 80px 0;
    background: #f5f5f5;
}

/* Dashboard breadcrumbs */
.breadcrumb-nav {
    text-align: right;
}

.breadcrumb-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-nav ul li {
    display: inline-block;
}

.breadcrumb-nav ul li a {
    color: #ff385c;
    font-weight: 500;
}

.breadcrumb-nav ul li a:hover {
    color: #e93456;
}

/* Dashboard help text */
.help-text {
    margin-top: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 14px;
    color: #777;
}

.help-text i {
    margin-right: 5px;
    color: #ff385c;
}

/* Property buttons */
.property-buttons {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.property-buttons .btn {
    padding: 5px 10px;
    font-size: 13px;
}

/* Button hover effects */
.btn-outline-light:hover {
    background-color: #f8f9fa;
    color: #ff385c;
}

.btn-outline-danger:hover {
    background-color: #ff385c;
    color: #fff;
}

/* Enhanced Image Upload Styling */
.image-preview-item {
    position: relative;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.image-preview-item:hover {
    transform: translateY(-2px);
}

.image-preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.current-image-item {
    position: relative;
    transition: all 0.3s ease;
}

.current-image-item:hover {
    transform: translateY(-2px);
}

.current-image-item.removing {
    opacity: 0.5;
    transform: scale(0.95);
}

.current-image-item img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.current-image-item:hover img {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Enhanced Remove Buttons */
.remove-current-image,
.remove-image-preview {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    border: 2px solid white !important;
    color: white !important;
    font-weight: bold;
    transition: all 0.2s ease;
    z-index: 10;
}

.remove-current-image:hover,
.remove-image-preview:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4) !important;
}

/* Enhanced Progress Bars */
#upload-progress-area {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

#upload-progress-area .progress {
    height: 12px;
    border-radius: 6px;
    background-color: #e9ecef;
    overflow: hidden;
}

#upload-progress-area .progress-bar {
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
    border-radius: 6px;
}

#individual-progress-container .progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

#individual-progress-container .progress-bar {
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.image-preview-item .progress-bar {
    background: linear-gradient(90deg, #28a745, #20c997);
}

/* Status Text Colors */
.text-success {
    color: #28a745 !important;
    font-weight: 600;
}

.text-danger {
    color: #dc3545 !important;
    font-weight: 600;
}

.text-warning {
    color: #ffc107 !important;
    font-weight: 600;
}

.upload-status {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .image-preview-item,
    .current-image-item {
        margin-bottom: 1rem;
    }
    
    #upload-progress-area {
        padding: 1rem;
    }
    
    .remove-current-image,
    .remove-image-preview {
        width: 28px !important;
        height: 28px !important;
        top: 5px !important;
        right: 5px !important;
    }
    
    .remove-current-image i,
    .remove-image-preview i {
        font-size: 12px !important;
    }
} 