.my-rentals-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

.my-rentals-page h1 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.rentals-list {
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.rental-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.rental-item:hover {
    transform: translateY(-5px);
}

.rental-item h3 {
    color: #242324;
    margin-bottom: 10px;
}

.rental-item p {
    color: #555;
    margin-bottom: 5px;
}
.back-to-home-button {
    background-color: #242323;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    position: absolute; 
    top: 20px; 
    left: 20px; 
    text-decoration: none; 
    transition: background-color 0.3s ease;
}

.back-to-home-button:hover {
    background-color: #242323;
}