/* General styles */
body {
    font-family: Arial, sans-serif;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #f4f4f4, #e9ecef);
    color: #333;
}
.background {
            background-image: url('assets/payment-portal-backgroundz.jpg'); /* Replace with your image path */
            background-size: cover; /* Ensure it covers the whole screen */
            background-position: left; /* Center the image */
            background-repeat: no-repeat; /* No repeating */
            position: relative;
        }


.container {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 630px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 100%;
    max-width: 300px; /* Updated logo width */
    height: auto;
    display: block;
    margin: 0 auto;
}

h1 {
    margin-bottom: 20px;
    margin-top: 27px;
    font-size: 30px;
    color: #2c3e50;
    text-shadow: 1px 1px 1px #43a;
    letter-spacing: 1px;
}

.info-text {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-5px); /* Adds slight movement on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.icon {
    margin-right: 8px;
    font-size: 18px;
}

#card-payment {
    background-color: #218838;
}

#card-payment:hover {
    background-color: #28a745;
}

#bank-transfer {
    background-color: #0056b3;
}

#bank-transfer:hover {
    background-color: #007bff;
}



/* Media query for larger screens */
@media (min-width: 768px) {
    .button-container {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    #card-payment .icon{
    position: relative;
    top: -4px;
 }
}
@media (max-width: 767px) {
    h1 {
        font-size: 22px;
    }
}

/*card payment*/
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background styling for card payment page */
.card-background {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to left, #a9bcd0, #3e5151);
    font-family: Arial, sans-serif;
    color: #333;
    padding: 10px;
}

/* Container for card payment */
.card-container {
    text-align: center;
    padding: 20px;
    background: #f7f9fb;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
}

/* Title and Text */
.card-container h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2c3e50;
}
.card-container h2 {
    font-size: 15px;
    margin-bottom: 15px;
    color: #415262;
}

.processing-fee {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Input Box */
.input-group input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    box-shadow: -1px -1px 1px #4d4;
}

.input-group input:focus {
    border-color: #2a9d8f;
    outline: none;
}

/* Continue Button */
.continue-btn {
    background-color: #264653;
    color: #fff;
    padding: 12px 18px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background-color: #2a9d8f;
}

/* Buttons for Flywire and LVH */
.buttons a {
    display: block;
    margin-top: 15px;
    text-decoration: none;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.flywire-btn {
    background-color: #264653;
}

.lvh-btn {
    background-color: #2a9d8f;
}

/* Bottom logos container */
.bottom-logos {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        padding: 15px;
    }
    .card {
      margin-top: -35px !important;
    }

    .card-container h1 {
        font-size: 24px;
    }

    .processing-fee {
        font-size: 12px;
    }

    .input-group input {
        padding: 10px;
    }

    .continue-btn {
        font-size: 14px;
        padding: 10px;
    }

    .buttons a {
        font-size: 12px;
    }

    .bottom-logos {
        position: absolute;
        bottom: 70px;
        left: 20px;
        right: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .card-container h1 {
        font-size: 24px;
    }

    .processing-fee {
        font-size: 16px;
    }

    .continue-btn {
        font-size: 18px;
        padding: 8px;
    }
    .bottom-logos {
        position: absolute;
        bottom: 70px;
        left: 20px;
        right: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}


/* Logo styling */
.bottom-logo {
    max-height: 50px; /* Best size for rectangular logos */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure logos look sharp */
    transition: transform 0.3s ease;
}

/* Logo hover effect */
.bottom-logo:hover {
    transform: scale(1.1);
}

/* Logo container */
.logo-left, .logo-right {
    display: flex;
    justify-content: center;
    align-items: center;
}


/**/
/* Content area for Payment Status */
.xcontent-area {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
}

.xcontent-area h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 1px 1px 1px #43a;
}

.success-message {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.success-text {
    color: #28a745; /* Green text for success */
    font-weight: bold;
}
.going-back{
  margin-top: 100px;
}

.link {
    color: #007bff; /* Blue for links */
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .xcontent-area h1 {
        font-size: 28px;
    }

    .success-message {
        font-size: 16px;
    }
}
