.termserror{display: block;color: red;}
.hidden{display: none !important;}
.errorcls{color: red;}


.registration-form .form-error {display: flex;align-items: flex-start;gap: 12px;background: #fff4f4;border: 1px solid #ffb3b3;border-left: 5px solid #ff3b3b;color: #9b1c1c;padding: 14px 16px;border-radius: 8px;margin-bottom: 15px;font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;box-shadow: 0 4px 10px rgba(255, 0, 0, 0.08);margin-top: 15px;}
.registration-form .error-icon {font-size: 20px;line-height: 1;}
.registration-form .error-content h4 {margin: 0 0 4px;font-size: 15px;font-weight: 600;}
.registration-form .error-content p {margin: 0;font-size: 14px;}

.registration-form .form-success {display: flex;align-items: flex-start;gap: 12px;background: #f0fff4;border: 1px solid #86efac;border-left: 5px solid #22c55e;color: #166534;padding: 14px 16px;border-radius: 8px;margin-bottom: 15px;font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;box-shadow: 0 4px 10px rgba(34, 197, 94, 0.15);margin-top: 15px;}
.registration-form .success-icon {font-size: 20px;line-height: 1;}
.registration-form .success-content h4 {margin: 0 0 4px;font-size: 15px;font-weight: 600;}
.registration-form .success-content p {margin: 0;font-size: 14px;}

.mb25{margin-bottom: 25px;}
body {background-color: #f8fafc;font-size: clamp(14px, 1vw, 16px);}

.sidebar {background: #ffffff;border-radius: 14px;padding: 20px;box-shadow: 0 4px 12px rgba(0,0,0,.05);}

.main-menu a,.sidebar a {display: flex;align-items: center;gap: 10px;padding: 10px 12px;border-radius: 10px;text-decoration: none;color: #555;font-weight: 500;display: inline;font-size: 16px;}

.main-menu a.active,.sidebar a.active {background: #eef2ff;color: #4f46e5;}

.stat-card {background: #fff;border-radius: 16px;padding: 20px;box-shadow: 0 4px 12px rgba(0,0,0,.05);height: 100%;}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.quick-actions button {
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 500;
}

.section-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.activity-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-top: 6px;
}

/*Add investor css*/

/* Bottom border only for inputs & textarea */
.add_invesor_form .form-control,
.add_invesor_form .form-select {
    border: none;
    border-bottom: 2px solid #ced4da;
    border-radius: 0;
    box-shadow: none;
}

.add_invesor_form .form-control:focus,
.add_invesor_form .form-select:focus {
    border-bottom-color: #0d6efd;
    box-shadow: none;
}

/* Select2 bottom border */
.add_invesor_form .select2-container--default .select2-selection--single {
    /*border: none;*/
    border-bottom: 2px solid #ced4da;
    border-radius: 0;
    height: 38px;
}

.add_invesor_form .select2-container--default .select2-selection--single:focus {
    outline: none;
}

/* Align Select2 text properly */
.add_invesor_form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 0;
}

/* Dropdown arrow alignment */
.add_invesor_form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

/* Focus effect for Select2 */
.add_invesor_form .select2-container--default.select2-container--focus
.select2-selection--single {
    /*border-bottom-color: #0d6efd;*/
}

.add_invesor_form .form-label {
    font-weight: 500;   /* Slightly bold */
    color: #212529;     /* Bootstrap default dark */
}

.add_invesor_form .form-control{border: var(--bs-border-width) solid var(--bs-border-color) !important;}
.mt15{margin-top: 15px;}
/*End add investor*/

/*Start : property view*/
/*.view_dev_property.container {
	max-width: 1100px;
	margin: auto;
}
*/
.view_dev_property .back-link {
	display: inline-block;
	margin-bottom: 15px;
	color: #333;
	text-decoration: none;
	font-weight: 500;
}

.view_dev_property .unit-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.view_dev_property .unit-image img {
	width: 100%;
	height: 420px;
	object-fit: cover;
}

.view_dev_property .unit-content {
	padding: 25px;
}

.view_dev_property .unit-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.view_dev_property .unit-header h2 {
	margin: 0;
	font-size: 22px;
}

.view_dev_property .project-name {
	margin: 5px 0;
	color: #666;
}

.view_dev_property .location {
	font-size: 14px;
	color: #888;
}

.view_dev_property .price-box {
	text-align: right;
}

.view_dev_property .price {
	font-size: 22px;
	font-weight: 700;
	margin: 0;
}

.view_dev_property .status {
	display: inline-block;
	margin-top: 5px;
	padding: 5px 10px;
	font-size: 12px;
	border-radius: 6px;
}

.view_dev_property .status.available {
	background: #e6f9ef;
	color: #1e9c5b;
}

.view_dev_property .features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 15px;
	margin: 25px 0;
}

.view_dev_property .feature {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f7f8fc;
	padding: 12px;
	border-radius: 10px;
}

.view_dev_property .feature .icon {
	font-size: 20px;
}

.view_dev_property .feature small {
	display: block;
	font-size: 12px;
	color: #777;
}

.view_dev_property .actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.view_dev_property .btn {
	padding: 12px 18px;
	border-radius: 8px;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	font-weight: 500;
}

.view_dev_property .btn.primary {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
}

.view_dev_property .btn:hover {
	opacity: 0.9;
}
/*End : Property view*/

.registration-form .iti {
	width: 100%;
}

.registration-form .iti input.form-control {
	width: 100% !important;
}
a.reference_no{color: #0000ff;}
/* Affiliate css start*/
.affiliate-section .affiliate-section {padding: 40px 20px;}

.affiliate-section .affiliate-card {max-width: 1100px;margin: auto;padding: 40px;border-radius: 14px;color: #ffffff;background: #800080;box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);}

.affiliate-section .affiliate-card h2 {font-size: 28px;margin-bottom: 20px;font-weight: 600;}

.affiliate-section .affiliate-card p {font-size: 16px;line-height: 1.7;margin-bottom: 16px;opacity: 0.95;}

.affiliate-section .benefits-box {margin-top: 30px;padding: 25px 30px;border-radius: 12px;background: rgba(0, 0, 0, 0.15);}

.affiliate-section .benefits-box h4 {margin-bottom: 15px;font-size: 20px;}

.affiliate-section .benefits-box ul {list-style: none;padding: 0;margin: 0;}

.affiliate-section .benefits-box li {position: relative;padding-left: 30px;margin-bottom: 12px;font-size: 15px;}

.affiliate-section .benefits-box li::before {content: "✓";position: absolute;left: 0;top: 0;color: #a6ffcb;font-weight: bold;}

.affiliate-section .affiliate-link-section {padding: 40px 20px;}

.affiliate-section .affiliate-link-card {max-width: 1100px;margin: auto;padding: 30px 35px;background: #ffffff;border-radius: 12px;box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);}

.affiliate-section .affiliate-link-card h3 {font-size: 22px;margin-bottom: 10px;font-weight: 600;color: #111827;}

.affiliate-section .affiliate-link-card p {font-size: 15px;line-height: 1.6;color: #4b5563;margin-bottom: 25px;}

.affiliate-section .affiliate-link-box {display: flex;align-items: center;justify-content: space-between;gap: 15px;padding: 16px 18px;border: 1px solid #e5e7eb;border-radius: 10px;background: #fafafa;}

.affiliate-section .affiliate-link-box span {font-size: 15px;font-family: monospace;color: #111827;word-break: break-all;}

.affiliate-section .copy-btn {padding: 8px 18px;border: 1px solid #d1d5db;border-radius: 8px;background: #ffffff;cursor: pointer;font-size: 14px;font-weight: 500;transition: all 0.2s ease;}

.affiliate-section .copy-btn:hover {background: #f3f4f6;}
.container-padding{padding: 0px 115px;}
.cursor-hand{cursor: pointer;}

.view-property-section .property-img {width:100%;height:250px;object-fit:cover;border-radius:10px;cursor:pointer;transition:0.3s;}
.view-property-section .property-img:hover { transform:scale(1.03); }
.view-property-section .tab-content {background:#fff;padding:20px;border-radius:0 0 10px 10px;box-shadow:0 5px 15px rgba(0,0,0,0.05);}


/* Scroll wrapper (IMPORTANT FIX) */
.property-section .table-wrapper {max-height: 80vh;overflow-y: auto;border: 1px solid #eee;border-radius: 12px;}

/* Table */
.property-section table {margin-bottom: 0;}

/* Sticky header FIX */
.property-section thead th {position: sticky;top: 0;background: #f8f9fa;z-index: 10;border-bottom: 1px solid #ddd;padding: 14px;}

/* Rows */
.property-section tbody tr {border-bottom: 1px solid #f1f1f1;transition: 0.2s;}

.property-section tbody tr:hover {background: #fafafa;}

/* Property layout */
.property-section .property {display: flex;gap: 14px;align-items: center;}

.property-section .property-img {width: 165px;height: 120px;border-radius: 10px;object-fit: cover;}

.property-section .property-title {font-weight: 600;font-size: 15px;}

/* NEW: development + date */
.property-section .property-sub {font-size: 12px;color: #6c757d;}

/* Location */
.property-section .property-location {font-size: 13px;color: #6c757d;}

/* Details grid */
.property-section .details-grid {display: grid;grid-template-columns: repeat(3, auto);gap: 6px 15px;font-size: 13px;}

.property-section .detail {display: flex;align-items: center;gap: 5px;}

/* Price */
.property-section .price {font-weight: 600;font-size: 15px;}

.property-section .price small {display: block;font-size: 12px;color: #6c757d;}

/* Buttons */
.property-section .action-btn {border-radius: 6px;padding: 4px 10px;font-size: 13px;margin: 2px 12px;}


/* HEADER */
.view_property_section .header-card {background: #1f3b3a;color: #fff;padding: 25px;border-radius: 16px;display: flex;justify-content: space-between;align-items: center;}

.view_property_section .header-left h2 {margin: 0;}

.view_property_section .header-left p {margin: 5px 0 0;opacity: 0.8;}

.view_property_section .header-box {display: flex;gap: 15px;}

.view_property_section .info-box {background: #0f1f1f;padding: 15px 20px;border-radius: 12px;text-align: center;}

.view_property_section .info-box span {display: block;font-size: 13px;opacity: 0.7;}

.view_property_section .info-box strong {font-size: 16px;}

/* TABS */
.view_property_section .tabs {    display: flex;
    gap: 0;
    padding: 10px 0px;
    background: #ececf0;
    padding: 5px;
    border-radius: 50px;
	justify-content: space-between;
}

.view_property_section .tab {padding: 5px 18px;border-radius: 20px;cursor: pointer;font-size: 14px;}

.view_property_section .tab.active {background: #1f3b3a;color: #fff;}

/* CONTENT */
.view_property_section .tab-content {display: none;padding: 20px 0px;}

.view_property_section .tab-content.active {display: block;}

/* CARDS */
.view_property_section .cards {display: grid;grid-template-columns: repeat(3, 1fr);gap: 20px;margin: 20px 0px;}

.view_property_section .card {background: #fff;padding: 20px;border-radius: 14px;box-shadow: 0 2px 10px rgba(0,0,0,0.05);}

.view_property_section .card h4 {margin: 0;color: #6b7280;}

.view_property_section .card .value {font-size: 22px;margin-top: 0px;line-height: 1;}

.view_property_section .card.available {border: 2px solid #c7f0df;background: #ecfdf5;}

.view_property_section .card.reserved {border: 2px solid #f5e2c8;background: #fffbeb;}

/* TABLE */
.view_property_section .table-container {margin: 40px 0px;background: #fff;border-radius: 14px;overflow: hidden;box-shadow: 0 2px 10px rgba(0,0,0,0.05);}

.view_property_section table {width: 100%;border-collapse: collapse;}

.view_property_section thead {background: #f9fafb;position: sticky;top: 0;z-index: 2;}

.view_property_section th, td {padding: 15px;text-align: left;font-size: 14px;}

.view_property_section th {color: #6b7280;}

.view_property_section tr {border-bottom: 1px solid #eee;}

/* STATUS BADGES */
.view_property_section .badge {padding: 5px 12px;border-radius: 20px;font-size: 12px;font-weight: 500;}

.view_property_section .badge.available {background: #d1fae5;color: #065f46;}

.view_property_section .badge.reserved {background: #fde68a;color: #92400e;}

/* BUTTON */
.view_property_section .btn {padding: 5px 14px;border-radius: 10px;border: 1px solid #ddd;background: #fff;cursor: pointer;font-size: 14px;font-weight: 600;}

.property_section .btn {padding: 5px 14px;border-radius: 10px;border: 1px solid #ddd;background: #fff;cursor: pointer;font-size: 14px;font-weight: 600;}

.view_property_section .info-box {display: flex;align-items: center;gap: 12px;background: #0f1f1f;padding: 12px 16px;border-radius: 12px;border: 1px solid;}

/* ICON CIRCLE BASE */
.view_property_section .icon-circle {width: 42px;height: 42px;border-radius: 50%;display: flex;align-items: center;justify-content: center;}

/* ICON SIZE */
.view_property_section .icon-circle i {font-size: 22px;}

/* VARIANTS */
.view_property_section .icon-circle.lblue {background: #e0ecff;color: #2563eb;}

.view_property_section .icon-circle.pink {background: #fdf7f4;color: #c37ec1;}

.view_property_section .icon-circle.blue {background: #6060b3;color: #FFF;}

.view_property_section .icon-circle.green {background: #d1fae5;color: #059669;}

/* TEXT */
.view_property_section .info-box span {font-size: 12px;color: #FFF;opacity: 1;}

.view_property_section .info-box strong {font-size: 14px;color: #fff;}

.view_property_section .location {display: flex;align-items: center;gap: 8px;color: #FFF;margin-top: 6px;}

.view_property_section .location i {font-size: 16px;color: #FFF;}

.myprofile .contact-card {background: #fff;border-radius: 12px;padding: 20px;box-shadow: 0 2px 10px rgba(0,0,0,0.05);}

/* HEADER */
.myprofile .contact-header h3 {margin: 0 0 15px;font-size: 18px;color: #1f2a6d;}

/* ROW */
.myprofile .info-row {display: flex;gap: 20px;margin-bottom: 15px;}

/* ITEM */
.myprofile .info-item {flex: 1;display: flex;flex-direction: column;}

/* LABEL */
.myprofile .label {font-size: 12px;color: #6b7280;margin-bottom: 4px;}

/* VALUE */
.myprofile .value {font-size: 15px;font-weight: 500;color: #111827;}


.image-wrapper {position: relative;display: inline-block;}

.image-wrapper img {max-width: 100%;height: auto;display: block;}

/* Download button overlay */
#download-btn {position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;}

.download-image i {font-size: 22px;}

/* Hover effect (desktop) */
#download-btn:hover {background: rgba(0, 0, 0, 0.8);}

.margin0{margin: 0px;}
.padding0{padding: 0px;}

.small-text {
    font-size: clamp(12px, 0.9vw, 14px);
}

.development-units{color: #878795;}
.development-available{color: #0c805d;}
.development-reserved{color: #bb4d00;}

.view_property_section .availability-table .unit-ref{background: #e0e1e3;padding: 6px 12px;border-radius: 50px;}

.view_property_section .availability-table .property-type{color: #888896;}

.view_property_section .availability-table .property-price{color: #464646;}

/* Development Availability Mobile view */
.card .card-header{display: flex;justify-content: space-between;background: transparent;}
.card .card-header .left-content{display: flex;align-items: center;}
.card .card-header .left-content .unit-no{background: #DDD;
    width: 36px;
    text-align: center;
    border-radius: 50px;
    height: 36px;
    line-height: 36px;
    margin-right: 10px;
    font-size: 18px;
}

.development_availability_mobile .card .card-header .left-content .unit-id-sm{font-size: 10px;margin: 0;}
.development_availability_mobile .card .card-header .left-content .availability-sm-unit{font-size: 18px;}


.development_availability_mobile .attributes{display: flex;flex-wrap: wrap;}
.development_availability_mobile .attributes > .unit-details{flex: 0 0 50%;margin-bottom: 16px;}

.development_availability_mobile .sm-price{font-size: 22px;}

.development_availability_mobile .attributes > .unit-details h6{font-size: 10px;margin-bottom: 5px;}
.development_availability_mobile .attributes > .unit-details p{font-size: 14px;margin-bottom: 0px;}

.development_availability_mobile .unit-section-sm{margin-bottom: 10px;padding-top: 12px !important;padding-bottom: 0 !important;}

.w-100{width: 100%;}
.pc-sm-none{display: none;}

.property-view-cls{border-radius: 18px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);margin: 30px 0px;}

.mt40{margin: 40px 0px;}
.mt50{margin: 50px 0px;}

.news-success-msg {padding: 12px 16px;background-color: #e6ffed;color: #1a7f37;border: 1px solid #b7ebc6;border-radius: 6px;font-size: 14px;}

.property_title{display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden; -webkit-line-clamp: 1;}

.development-left{width: auto;display: inline-block;}
.development-right{float: right;display: inline-block;font-size: 30px;}
.select2-container--default .select2-selection--single .select2-selection__placeholder {margin-left: 7px;}
.required-mark{color: red;}