/* ✅ General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body.auth-page {
    background: #0f0c29;
    background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);
    background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
}

body {
    Background: url('https://images.unsplash.com/photo-1508615121316-fe792af62a63?q=80&w=3870&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center fixed;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: 100%;
}
.auth-container {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 400px;
}
header {
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    text-align: center;
    color: #000000; /* Changed to black */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
header h1 {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 800;
    color: #302b63;
    font-size: 3rem;
}
header h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family:Verdana, Geneva, Tahoma, sans-serif ;
}
header a {
    color: black; /* Black text for better contrast */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-style: solid;
    border-radius: 5px;
    padding: 3px 7px;
    border-color: transparent;
    border-width: 2px;
    transition: all 0.3s ease-in-out;
}
header a:hover {
    border-style: solid;
    border-color: #000000;
    border-width: 2px;
}
.container {
    background: rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.5s ease-in-out;
    color: #000000; /* Ensuring text inside is black */
}
.login-container,
.register-container {
    background: white;
    color: black;
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.5s ease-in-out;
    color: #000000; /* Black text */
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-container h2,
.register-container h2 {
    font-size: 28px;
    font-weight: 600;
    color: black; /* Black heading */
    margin-bottom: 15px;
}
.input-group label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #000000; /* Label text black */
}
.input-field {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
    color: #000000; /* Black text inside input */
}
.input-field::placeholder {
    color: rgba(0, 0, 0, 0.5); /* Light black placeholder */
}
.input-field:focus {
    border-color: #000000;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #000000, #4f4f4f);
    color: #ffffff; /* White text for contrast */
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.button:hover {
    background: linear-gradient(135deg, #4f4f4f, #000000);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.login-btn{
    background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    justify-self: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    &:active {
        transform: scale(0.95);
    }
}
.login-btn:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}
.content h3 {
    margin-top: 2700px;
    align-items: center;
    justify-self: center;
}
.content p {
    align-items: center;
    justify-self: center;
}
.register-btn {
    background-image: linear-gradient(to right, #ff7eb3 0%, #ff758c 51%, #ff7eb3 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    align-self: center;
    justify-self: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    &:active {
        transform: scale(0.95);
    }
}
.register-btn:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}
.nav-links {
    display: none; /* Hidden by default on small screens */
    position: absolute;
    top: 60px;
    right: 10px;
    background: rgba(0, 0, 0, 0.9);
    width: 200px;
    flex-direction: column;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.nav-links a {
    color: white;
    text-align: center;
    padding: 10px;
    display: block;
}
.nav-active {
    display: flex;
}
.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    background: transparent;
    border: none;
    color: white;
}
@media (max-width: 500px) {
    .container {
        width: 90%;
        padding: 15px;
    }

    .listing-card {
        width: 100%;
    }

    .nav-links {
        width: 100%;
        right: 0;
    }

    .dashboard-container {
        flex-direction: column;
    }
}
@media (max-width: 1024px) {
    .listing-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
        text-align: center;
    }

    .content {
        margin-left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
    }
}
@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }

    .listing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.login-form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: black;
}
#email , #password ,#username{
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
    color: #000000; /* Black text */
    margin-bottom: 15px;
}
.new-usr {
    color: black;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    margin-top: 10px;
}
.new-usr a {
    color: black;
    text-decoration: underline;
    &:hover {
        color: rgb(0, 149, 255);
    }
}
.usr-mode {
    color: black;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    margin-top: 10px;
    text-align: center;
}
.slideshow-container {
    width: 100%;
    max-width: 1100px;
    width: 700px;
    height: 400px;
    position: relative;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: -350px;
}
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transform: translateX(100%);  /* Start off-screen */
    transition: transform 0.5s ease-out, opacity 0.6s ease-out;
}
.slide.active {
    opacity: 1;
    transform: translateX(0);  /* Slide into view */
}
.slide.prev {
    opacity: 0.5;
    transform: translateX(-100%);  /* Move left and fade out */
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.slide-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 80%;
}
.slide-caption h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}
.slide-caption p {
    margin: 5px 0 0;
    font-size: 14px;
}

.explore-container {
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-items: center;
    margin-top: 100px;
    gap: 20px;
    width: 100%;
    color: white;
    background-color: transparent;
}

.add-listing-container {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin-top: 800px;
}

.add-listing-container h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.add-listing-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.add-listing-form label {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.add-listing-form select,
.add-listing-form textarea,
.add-listing-form input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease-in-out;
}

.add-listing-form textarea {
    height: 100px;
    resize: none;
}

.add-listing-form input:focus,
.add-listing-form textarea:focus,
.add-listing-form select:focus {
    border-color: white;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.add-listing-form input::placeholder,
.add-listing-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* ✅ Image Upload Preview */
#imagePreview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

#imagePreview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid white;
}

/* ✅ Submit Button */
.add-listing-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.add-listing-form button:hover {
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

/* ✅ Responsive */
@media (max-width: 500px) {
    .add-listing-container {
        width: 90%;
        padding: 30px;
    }
}
.dashboard-container {
    max-width: 1200px;
    margin: 150px;
    padding: 20px;
    text-align: center;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 20px;
    justify-content: space-evenly;
    margin-top: 350px;
    max-width: 1200px;
}

.listing-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    max-width: 350px;
}

.listing-card:hover {
    transform: scale(1.05);
    cursor: default;
}

.listing-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.listing-card h3 {
    font-size: 20px;
    margin: 10px 0;
}

.listing-card p {
    font-size: 14px;
    color: #ddd;
}

.listing-card .price {
    font-size: 18px;
    font-weight: bold;
    color: #00ff88;
    margin-top: 10px;
}

.search-container {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(35px);
    color: white;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    top: 140px;
    z-index: 10;
    width: 40%;
}

.logout-btn {
    background-image: linear-gradient(to right, #000000 0%, #e74c3c 51%, #000000 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: inline-block;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.logout-btn:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}

/* Button Styling */
.search-btn, .view-details-btn, .book-btn, .clear-filters-btn , .property-type-filter {
    margin-top: 10px;
    appearance: none;
    background-color: transparent;
    border: 2px solid #1A1A1A;
    border-radius: 15px;
    box-sizing: border-box;
    color: #bebebe;
    cursor: pointer;
    display: inline-block;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 40px;
    min-width: 0;
    outline: none;
    padding: 10px 12px;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    will-change: transform;
  }
  
  .search-btn:disabled, .view-details-btn:disabled, .book-btn:disabled, .clear-filters-btn:disabled {
    pointer-events: none;
  }
  
  .search-btn:hover, .view-details-btn:hover, .book-btn:hover, .clear-filters-btn:hover,.property-type-filter:hover {
    color: #fff;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
  }
  
  .search-btn:active, .view-details-btn:active, .book-btn:active, .clear-filters-btn:active {
    box-shadow: none;
    transform: translateY(0);
  }

.main-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.tagline h1 {
    font-family: fantasy;
    font-size: 4rem;
}

.listing-details-section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: black;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1000;
}

.listing-details-section img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.listing-details-section .close-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

.listing-details-section .close-btn:hover {
    background: #c0392b;
}

.alert {
    background-color: white;
    color: black;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: transparent;
    backdrop-filter: blur(6px);
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    position: fixed;
    margin-top: 150px; /* This adds a large empty space above the modal */
    margin-bottom: 150px;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%); /* ✅ Perfect centering */
    padding: 50px; /* This adds space inside the modal */
    border: 1px solid #888;
    width: 85%;
    max-width: 95%;
    max-height: 70vh;
    overflow: auto;
    border-radius: 10px;
    color: white;
    z-index: 15;
}

/* Modal Title Styling */
.modal-title {
    margin-top: 0 !important; /* Remove unnecessary top margin */
    margin-bottom: 20px; /* Optional: Add spacing below */
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: white;
}

/* Close Button */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: rgb(255, 0, 55);
    text-decoration: none;
    cursor: pointer;
    scale: 1.5;
}

#modalDescription {
    color: white;
}

#modalImage {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

footer {
    background: #1e1e1e;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    margin-top: 100px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
    padding: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer-section p {
    font-size: 14px;
}

.social-icons img {
    width: 24px;
    margin: 5px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 10px;
    font-size: 14px;
}

#backToTop {
    background: #ff6600;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    border-radius: 5px;
}

.owner-listing-margin-bottom {
    margin-bottom: 10px;
}

.master-container {
    margin-top: 200px;
    @media screen and (max-width: 768px) {
        margin-top: 650px;

    }
}

/* Payment Button Styling */
#paymentButton {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none; /* Remove border */
    padding: 10px 20px; /* Padding for the button */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Bold text */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
}

#paymentButton:hover {
    background-color: #45a049; /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
}

#paymentButton:active {
    transform: scale(0.95); /* Slightly shrink the button on click */
}

/* Improved Payment Container Styling */
.payment-container {
    max-width: 700px; /* Keep the maximum width */
    width: 40%; /* Keep the width percentage */
    margin-top: 500px; /* Keep the top margin */
    padding: 30px; /* Increase padding for better spacing */
    background: linear-gradient(135deg, #ffffff, #f3f3f3); /* Subtle gradient background */
    border-radius: 15px; /* Slightly more rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhance shadow for a modern look */
    text-align: center; /* Center-align text */
    border: 1px solid #ddd; /* Add a light border for definition */
    animation: fadeIn 0.5s ease-in-out; /* Smooth fade-in animation */
    color: black;
}

/* Center the Payment Button */
.pay-btn {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none; /* Remove border */
    padding: 12px 24px; /* Adjust padding for better size */
    font-size: 18px; /* Slightly larger font size */
    font-weight: bold; /* Bold text */
    border-radius: 8px; /* More rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
    display: block; /* Make it a block element */
    margin: 20px auto; /* Center horizontally and add spacing */
    width: fit-content; /* Adjust width to fit content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.pay-btn:hover {
    background-color: #45a049; /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

.pay-btn:active {
    transform: scale(0.95); /* Slightly shrink the button on click */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}

.payment-options {
    margin-bottom: 20px;
    text-align: left;
}

.payment-options label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer;
}

.payment-details {
    margin-bottom: 20px;
}

.payment-details input,
.payment-details select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Change placeholder color to black */
#amount input::placeholder,
#amount select::placeholder {
    color: black; /* Set placeholder text color to black */
}

/* Styling for the Amount Field */
#amount {
    color: black; /* Set text color to black for visibility */
    font-weight: bold; /* Make the text bold */
    background-color: rgba(255, 255, 255, 0.8); /* Light background for contrast */
    border: 1px solid #ccc; /* Add a subtle border */
    padding: 10px; /* Add padding for better spacing */
    border-radius: 5px; /* Rounded corners */
    width: 100%; /* Ensure it spans the container */
    font-size: 16px; /* Adjust font size for readability */
}

/* Styling for the Amount Display */
.amount-display {
    color: black; /* Set text color to black for visibility */
    font-weight: bold; /* Make the text bold */
    background-color: rgba(255, 255, 255, 0.8); /* Light background for contrast */
    border: 1px solid #ccc; /* Add a subtle border */
    padding: 10px; /* Add padding for better spacing */
    border-radius: 5px; /* Rounded corners */
    width: fit-content; /* Adjust width to fit content */
    font-size: 16px; /* Adjust font size for readability */
    display: inline-block; /* Ensure proper alignment */
}

.payment-container {
    /* Existing styles */
    margin-left: auto;
    margin-right: auto;
    position: relative;
    backdrop-filter: blur(10px); /* Glassmorphism effect */
  }
  
  /* Optional dark mode tweak */
  @media (prefers-color-scheme: dark) {
    .payment-container {
      background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
      color: #f1f1f1;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
  
    .payment-details input,
    .payment-details select {
      background-color: #333;
      color: white;
      border: 1px solid #555;
    }
  }