/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #141E30, #243B55); /* Dark elegant gradient */
    color: #e0e0e0; /* Light grey for readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Subtle shadow for better contrast */
}

/* Tabs */
.tabs {
    display: none;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab-button {
    cursor: pointer;
    height: 7vh;
    box-shadow: 5px 5px 5px #1E293B inset, -5px -5px 5px #273c47 inset;
    max-width: 1000px;
    background-color: #1F2833; /* Dark background for buttons */
    border: solid;
    border-radius: 20px;
    border-width: 2px;
    border-color: #66FCF1; /* Accent cyan color */
    margin-top: 1vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #C5C6C7; /* Text color */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
}

.tab-button:hover {
    background-color: #0B0C10;
    transform: translateY(-2px); /* Small lift on hover */
}

.wp-tab-button {
    cursor: pointer;
    height: 7vh;
    box-shadow: 5px 5px 5px #1E293B inset, -5px -5px 5px #273c47 inset;
    background-color: #1F2833; /* Dark background for buttons */
    width:100%;
    border: solid;
    border-radius: 20px;
    border-width: 2px;
    border-color: #66FCF1; /* Accent cyan color */
    margin-top: 1vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #C5C6C7; /* Text color */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
}

.wp-tab-button:hover {
    background-color: #0B0C10;
    transform: translateY(-2px); /* Small lift on hover */
}

/* Section container */
.section-container {
    display: flex;
    justify-content: space-between;
}

.section {
    height: auto;
    width: 90%;
    box-sizing: border-box; /* Ensures padding doesn't increase the size */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    max-width: 1000px;
    border-radius: 20px;
    border-width: 2px;
    border-color: #C5C6C7;
    margin-top: 1vh;
    background-color: #1B1B1B; /* Dark grey background for sections */
    color: #f0f0f0; /* White text for readability */
    padding: 20px; /* Adds padding inside the section */
}


/* Mobile layout: show one section at a time */
@media (max-width: 768px) {
    .tabs {
        display: flex;
    }
    .section-container {
        display: block;
    }
    .section {
        display: none;
        width: 100%;
    }

    .section.active {
        display: block;
    }

    .tab-button {
        width: 100%;
    }
}

/* Modal styles */
#modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2E2E2E; /* Dark modal */
    color: #fff;
    /*padding: 30px;*/ /* Increased padding for better spacing */
    border-radius: 20px; /* More rounded corners */
    z-index: 1000;
    width: 400px; /* Default width */
    max-width: 100%; /* Ensure it doesn't overflow */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    overflow-y: auto; /* Enable scroll if content overflows */
}


.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    #modal {
        width: 90%; /* Full width for mobile */
        max-width: 400px; /* Ensure it's not too wide on mobile */
        /*padding: 20px;*/ /* Less padding on mobile */
    }
}

/* Payment Form */
#payment-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#phonepe-txn , #upi-id{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#payment-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#close-modal, #payment-done-button, #find-payment-button, #download-button,.payment-done-btn , .pay-now-btn,  .validity-btn, .mail-inbox-btn , .claim-btn {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #45A29E; /* Accent color */
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
}

#close-modal:hover, #payment-done-button:hover, #find-payment-button:hover, #download-button:hover,.payment-done-btn:hover , .pay-now-btn:hover,  .validity-btn:hover, .mail-inbox-btn:hover , .claim-btn:hover {
    background-color: #66FCF1;
    transform: translateY(-2px); /* Small lift on hover */
}


/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0B0C10, #1F2833);
    color: #C5C6C7;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-links {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.footer-links li {
    display: inline-block;
    margin-right: 30px;
}

.footer-links a {
    color: #C5C6C7;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease-in-out;
}

.footer-links a:hover {
    color: #45A29E;
    transform: translateX(5px); /* Slight movement for emphasis */
}

.footer p {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-links li {
        display: block;
        margin: 10px 0;
    }
}

/* Typewriter effect */
#payment-status-message {
    font-family: 'Courier', monospace;
    border-right: 2px solid #66FCF1;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typewriter 4s steps(50, end), blinkCursor 0.75s step-end infinite;
}

/* Keyframes for typewriter */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from { border-right-color: #66FCF1; }
    to { border-right-color: transparent; }
}


/* Mail Inbox Modal Styles (Full Screen) */
#mailInboxModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background-color: #2E2E2E; /* Dark background */
    color: #fff;
    z-index: 1000;
    overflow-y: auto; /* Scroll if content exceeds height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mail-modal-content {
    width: 90%;
    max-width: 1200px;
    padding: 20px;
    text-align: center;
    background-color: #1B1B1B; /* Slightly different background for content */
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Shadow for depth */
}

/* Close Button Styles */
#closeMailInboxModal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #66FCF1;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

#closeMailInboxModal:hover {
    color: #45A29E;
}

/* Inbox Content */
#mailInboxContent {
    margin-top: 20px;
    width: 100%;
    max-height: 70vh; /* Adjusted height to leave space for close button */
    overflow-y: auto; /* Scrollable content */
    /*padding: 20px;*/
    background-color: #1B1B1B;
    border-radius: 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .mail-modal-content {
        width: 95%;
        max-width: 100%;
        padding: 15px;
    }
    #mailInboxContent {
        max-height: 60vh;
    }
}

/* Form Heading */
#createOrder h2 {
    color: #66FCF1; /* Cyan accent color */
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Form Styles */
#createOrder form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between elements */
}

/* Label Styles */
#createOrder label {
    font-weight: bold;
    color: #C5C6C7; /* Light grey */
}

/* Select and Input Styles */
#createOrder select, #createOrder input[type="text"] {
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #66FCF1; /* Cyan border */
    background-color: #0B0C10; /* Dark background */
    color: #fff; /* White text */
    font-size: 16px;
    transition: border-color 0.3s ease;
}

/* Focus State */
#createOrder select:focus, #createOrder input[type="text"]:focus {
    border-color: #45A29E; /* Light cyan border on focus */
}

/* Submit Button Styles */
#createOrder .create-order {
    background-color: #45A29E; /* Button color */
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
    width:auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
.cerate-order-center{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover Effect for Button */
#createOrder .create-order:hover {
    background-color: #66FCF1;
    transform: translateY(-2px); /* Lift effect */
}

/* Message Box Styles */
#createOrder #message {
    margin-top: 15px;
    font-size: 16px;
    color: #f0f0f0; /* Text color */
}

/* Container to center the form */
#login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}

/* Login Heading */
#login-heading {
    color: #66FCF1; /* Cyan accent color */
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

/* Form Styles */
#login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Space between form elements */
    padding: 20px;
    background-color: #1f2833; /* Slightly lighter dark background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px; /* Max width for larger screens */
    
    box-sizing: border-box; /* Ensures padding doesn't increase the size */
}

/* Input Field Styles */
#login-email {
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #66FCF1; /* Cyan border */
    background-color: #0B0C10; /* Dark background */
    color: #fff; /* White text */
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease;
}

/* Input Focus State */
#login-email:focus {
    border-color: #45A29E; /* Light cyan on focus */
}

/* Button Styles */
#login-button {
    background-color: #45A29E; /* Button color */
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
}

/* Hover Effect for Button */
#login-button:hover {
    background-color: #66FCF1;
    transform: translateY(-2px); /* Lift effect */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #login-email, #login-button {
        width: auto;
        max-width: none;
    }
}
