.latest-properties-list .card-title {
    font-size: 16px;
}

.property-listings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.property-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.property-title {
    text-transform: capitalize;
}

.property-thumb img {
    object-fit: cover;
    width: 100%;
}

.property-details {
    padding: 15px;
    flex-grow: 1;
}

.property-meta {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 10px 0;
    flex-wrap: wrap;
}

.property-price {
    font-weight: bold;
    color: #000;
    font-size: 18px;
}

.property-sidebar {
    top: 100px;
    z-index: 10;
}

.property-gallery-thumbs .thumb-box img {
    cursor: pointer;
    transition: 0.3s;
}

.property-gallery-thumbs .thumb-box img:hover {
    transform: scale(1.05);
}

.property-price-call {
       padding: 19px 38px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 8px;
    background-color: #1f445e;
    color: #ffffff;
    margin-bottom: 20px;
    transition: background-color 0.2s, transform 0.2s;
}

.property-price-call:hover {
   background-color: #f76639;
    transform: translateY(-2px);
    color: #fff;
}



.latest-properties-list .card-footer .property-btn {
    padding: 12px 20px;
    background: #1f435e;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    border: 1px solid #1f435e;
}
.true-roof-sidebar{
    top: 5px;
    height: 100%;
}

.true-roof-sidebar .property-author-box {
     background-color: #1f445e;
    border-radius: 12px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  overflow: hidden;
    
}

.true-roof-sidebar .author-avatar ,
.true-roof-sidebar .author-avatar img{
    width: 100px;
    height: 100px;
    border-radius: 50%; 
    overflow: hidden; 
    margin-bottom: 16px;
    object-fit: cover;
}
.true-roof-sidebar .author-avatar img{
    border: 2px solid #f8663a;
}

.true-roof-sidebar .author-details h4{
    color: #fff;
}
.true-roof-sidebar .author-details .author-contact-details a{
    color: #fff;
}
.true-roof-sidebar .query-form form input,
.true-roof-sidebar .query-form form textarea{
    width: 100%;
}
.true-roof-sidebar .query-form form label{
    color: #fff;
}
.true-roof-sidebar .query-form{
    background-color: #1f445e;
    border-radius: 12px;
}
.query-form .submit-query{
padding: 19px 38px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 8px;
    background-color: #f8663a;
    border: 1px solid #f8663a;
    color: #ddd;
}

/* latest properties */
.properties-cards .properties-thumbnail {
    overflow: hidden; 
}

.properties-cards .properties-thumbnail img {
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 1/0.6;
    object-fit: cover;
}

.properties-cards .properties-thumbnail img:hover {
    transform: scale(1.1); 
    border-radius: 12px 12px 0 0 ;
}
.properties-cards .property-card-body{
  height:100%;
  border-radius: 0 0 12px 12px;
}
.properties-cards .property-card-footer {
    position: absolute;
    margin: 0 auto;
    bottom:25px;
    right: 0;
    left: 0;
}
.properties-cards .property-card-footer a{
    padding: 19px 38px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 8px;
    background-color: #1f445e;
    color: #ffffff;
    margin-bottom: 20px;
    transition: background-color 0.2s, transform 0.2s;
}
.properties-cards .property-card-footer a:hover{
    background-color: #f76639;
    transform: translateY(-2px); 
}

/* Agent Form General Container */


.page-template-agent-register .main-wrapper{
    background-color: #f0f2f5;
}

.agent-form-container {
    max-width:800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333333;
}

/* Header and Titles */
.agent-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.agent-form-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1f445e;
    margin-bottom: 5px;
}

.agent-form-subtitle {
    font-size: 1rem;
    color: #666666;
}

/* custom search shortcode */

.query-propery-search{
max-width:40%;

}
.query-propery-search .property-search-form{
border: 1px solid white;
display: flex;
justify-content: space-between;
}
.query-propery-search .property-search-form .search-input {
    max-width: 100%;
    width: 100%;
    background: rgba(43, 49, 61, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #fff;
}
.query-propery-search .property-search-form .search-submit{
background-color: #ffffff;
padding: 19px 10px;
border: 1px solid #fff;
    width: 27%;
    color: #222;
}


/* Form Fields */
.agent-form-field {
    margin-bottom: 20px;
}

.agent-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555555;
}

.agent-form-input,
.agent-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.agent-form-input:focus,
.agent-form-textarea:focus {
    outline: none;
    border-color: #1f445e;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.agent-form-input::placeholder,
.agent-form-textarea::placeholder {
    color: #b0b0b0;
}

.agent-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.agent-form-tip {
    font-size: 0.8em;
    color: #999999;
    margin-top: 5px;
}

/* Checkbox and Grouping */
.agent-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.agent-form-group {
    flex: 1;
    min-width: 250px;
}

.agent-form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agent-form-checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.agent-form-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.agent-form-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.agent-form-checkbox-container:hover .agent-form-checkbox ~ .agent-form-checkmark {
    background-color: #dddddd;
}

.agent-form-checkbox:checked ~ .agent-form-checkmark {
    background-color: #1f445e;
    border-color: #1f445e;
}

.agent-form-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.agent-form-checkbox:checked ~ .agent-form-checkmark:after {
    display: block;
}

.agent-form-checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.agent-form-container .agent-form-submit-button {
    width: 100%;
    padding: 14px;
    background-color: #1f445e;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.agent-form-container .agent-form-submit-button:hover {
    background-color: #f76639;
    transform: translateY(-2px);
} 

/* agent login */


.agents-main {
    width: 100%;
    background-color: #f0f2f5; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}


.agent-login-form {
    background: #fff;
    padding: 2.5rem; 
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; 
    box-sizing: border-box;
}


.agent-login-form .title{
    text-align: center;
    color: #1f445e;
    margin-bottom: 2rem;
}


.agent-login-form label {
    display: block;

    color: #555;
    font-weight: bold;
}


.agent-login-form input[type="email"],
.agent-login-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.agent-login-form input[type="email"]:focus,
.agent-login-form input[type="password"]:focus {
    outline: none;
    border-color:#f76639;
}


.agent-login-form input[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background-color: #1f445e;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.agent-login-form input[type="submit"]:hover {
    background-color: #f76639;
}



/*saerch*/

.property-filter-form {
    display: grid;
grid-template-columns: 1fr auto;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    align-items: center;
}

.property-filter-form .search-roof {
    width: 80%;
}

.property-filter-form input,
.property-filter-form select {
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 150px;
    transition: 0.2s ease-in-out;
}

.property-filter-form input:focus,
.property-filter-form select:focus {
    border-color: #666;
    outline: none;
}

.property-filter-form button {
    background-color: #1f435e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.property-filter-form button:hover {
    background-color: #f76639;
}
/* agent dashboard styles start */

.page-template-agent-dashboard .true-roof-header{
display: none;
}


.agent-dashboard-logo{
    width: 65px;
    height: 65px;
}
.page-template-agent-dashboard 
.header-style-five , .page-template-agent-dashboard  .footer-area{
    display: none !important;
}
html{
    scroll-behavior: auto;
    margin: 0 !important;
}
.dashboard-header{
    background-color:#1f445e;
    width: 100%;
    padding:5px 20px;
    display: flex;
    justify-content:space-between;
    align-items: center;
}
.dashboard-header .logo img{
    width:150px;
}
.dashboard-header .user-profile-image{
        width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}


.agent-dash .sidebar nav {
    background: #1f445e;
    border: 1px solid #1f445e;
    padding: 16px;
    position: sticky;
    height: 100vh;
    top: 2px;
}

.agent-dash .sidebar a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 6px;
    color: #fff
}

.agent-dash .sidebar a.active {
    background:#f76639;
    color: #fff;
}


.agent-dash .card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px
}

.agent-dash .table {
    width: 100%;
    border-collapse: collapse
}

.agent-dash .table th,
.agent-dash .table td {
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-align: left
}

.agent-dash .muted {
    color: #666
}

.enquiries-tabel table td, th {
  border: 1px solid #000;
  padding: 8px;
}

body {
    position: relative !important;
}


@media (max-width: 768px) {
    .property-sidebar {
        position: static !important;
    }
    
    .property-filter-form {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .property-filter-form input,
    .property-filter-form select,
    .property-filter-form button {
        width: 100%;
    }
    .query-propery-search{
        max-width: 100%;
    }

    /*agent dashboard  */

.agent-dash .sidebar nav{
    height: 100%;
}
}

/* Responsive adjustments */
@media (max-width: 650px) {
    .agent-form-container {
        padding: 20px;
        margin: 20px;
    }
}
