/* Base Styles for the Body */
body {
    font-family: 'Poppins', sans-serif; /* Main font for the page */
    background-color: #1a1a2e; /* Dark background for contrast */
    color: white; /* White text for readability */
    text-align: center; /* Center align the text for uniform layout */
    margin: 0;
    padding: 20px;
}

/* Header Styling */
.header {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600; /* Bolder font weight for emphasis */
}

/* Logo Container - Flexbox for logo alignment */
.logo-container {
    display: flex;
    justify-content: center; /* Center the logos horizontally */
    align-items: center; /* Vertically align the logos */
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens to prevent overflow */
    gap: 10px; /* Add some space between logos */
}

/* Payment Logo Styling */
.payment-logo {
    max-width: 16%; /* Default size for desktop */
    height: auto; /* Maintain the aspect ratio */
    display: inline-block; /* Keep logos aligned in one line */
    transition: transform 0.3s ease; /* Add a transition for hover effect */
}

.payment-logo:hover {
    transform: scale(1.1); /* Slightly enlarge logo on hover */
}

/* QR Code Styling */
.qr-code {
    padding: 20px;
    background-color: #333; /* Dark background for contrast */
    display: inline-block; /* Keep the QR code centered */
    border-radius: 10px; /* Rounded corners for better aesthetics */
    margin-bottom: 20px;
}

/* QR Code Image Styling */
.qr-code img {
    width: 200px; /* Set default size of the QR code image */
}

/* QR Code Paragraph Text */
.qr-code p {
    margin-top: 10px;
    font-size: 12px; /* Slightly smaller font for the QR code description */
}

/* Footer Styling */
.footer {
    font-size: 12px;
    color: #aaa; /* Lighter color for footer text */
}

/* Footer Links - Flexbox for alignment */
.footer-links {
    display: flex;
    justify-content: center; /* Center the footer links horizontally */
    align-items: center; /* Align the footer icons vertically */
    margin-bottom: 10px;
}

/* Footer Icons */
.footer-links img {
    height: 30px; /* Set the size of the footer icons */
    margin: 0 10px; /* Space between icons */
}

/* Year Styling */
#year {
    color: #ccc; /* Lighter color for the year */
}

/* User Info Box */
.user-info {
    margin-top: 20px;
    font-size: 12px;
    color: #ccc;
    background-color: #333; /* Dark background for the user info */
    padding: 10px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    text-align: left; /* Align text to the left for readability */
    max-width: 400px; /* Limit the width of the info box */
    margin: 20px auto; /* Center the box */
    line-height: 1.6; /* Increase line spacing for better readability */
    font-family: 'Poppins', sans-serif; /* Use consistent font */
}

/* Emphasize Strong Text in User Info */
.user-info strong {
    color: #fff; /* White color for key terms */
}

/* Security Info Box */
.security-info {
    margin-top: 10px;
    color: #ccc;
    font-size: 12px;
    background-color: #5eff0023; /* Subtle green background for security info */
    padding: 10px;
    border-radius: 8px;
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
    line-height: 1.6;
}

/* Current Time Box */
.current-time {
    margin-top: 10px;
    font-size: 12px;
    color: #88ff005b; /* Subtle green color for the current time */
    background-color: #44444400; /* Transparent background */
    padding: 10px;
    border-radius: 8px;
    max-width: 300px;
    margin: 10px auto;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for better look */
}

/* Media Query for Medium Devices (Tablets and Smaller Desktops) */
@media only screen and (max-width: 768px) {
    .header {
        font-size: 18px; /* Slightly smaller header font */
        margin-bottom: 15px;
    }

    .logo-container {
        flex-direction: row; /* Ensure logos stay in a single row */
        justify-content: space-around; /* Space out logos evenly */
    }

    .payment-logo {
        max-width: 30%; /* Increase logo size for better visibility on smaller screens */
        margin: 10px 0;
    }

    .qr-code img {
        width: 150px; /* Reduce QR code size for smaller devices */
    }

    .footer-links {
        flex-direction: row; /* Keep footer elements in one row */
        margin-bottom: 20px;
    }

    .footer-links img {
        height: 20px; /* Smaller icons on mobile */
    }

    .current-time {
        font-size: 10px; /* Smaller text size for time display */
    }

    .user-info {
        font-size: 10px; /* Reduce font size in user info */
        max-width: 300px; /* Narrow container for smaller screens */
        padding: 8px;
    }

    .security-info {
        font-size: 10px; /* Reduce font size in security info */
        max-width: 300px; /* Narrow container for security info */
    }
}

/* Media Query for Small Devices (Phones) */
@media only screen and (max-width: 480px) {
    .payment-logo {
        max-width: 45%; /* Adjust logo size for very small screens */
    }

    .qr-code img {
        width: 120px; /* Further reduce QR code size */
    }

    .header {
        font-size: 16px; /* Reduce header size for better readability */
    }

    .footer-links img {
        height: 18px; /* Smaller icons in the footer */
    }

    .user-info, .security-info {
        max-width: 280px; /* Narrow the info boxes for small screens */
    }
}
