/* Additional styles specific to the index page */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/*.background-container {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: -1;*/
/*    background-color: #f5f5f5;*/
/*    background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7));*/
/*}*/

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/background1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Semi-transparent overlay to ensure text remains readable */
    /*box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.2);*/
}

.content {
    max-width: 600px;          /* Reduce from 1200px to half */
    margin: 0 0 0 10%;         /* Change from auto to left margin only */
    padding: 40px 20px;
}

h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.login-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-card h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

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

.login-form input {
    width: 100%;
    box-sizing: border-box; /* This ensures padding is included in the width */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.login-form input:focus {
    border-color: #0fced1;
    outline: none;
    box-shadow: 0 0 5px rgba(15, 206, 209, 0.3);
}

.login-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #0fced1;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-submit-btn:hover {
    background-color: #0bb8bb;
}

.user-profile {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.welcome-text {
    font-size: 18px;
    font-weight: 500;
    margin-right: auto;
}

.logout-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.properties-container {
    margin-top: 40px;
}

.properties-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.property-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.property-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 20px;
    }

    .property-list {
        grid-template-columns: 1fr;
    }
}
