body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
}

/* Main container, set to flex-grow */
.container {
    padding: 20px;
    flex-grow: 1;  /* This makes the container take up available space, pushing the footer down */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
}

/* Header Section */
.header {
    font-size: 24px;
    color: #ff6600;
    margin-bottom: 10px;
}

.header h3 {
    color: #666;
    font-size: 16px;
    margin-top: 5px;
}

/* Welcome Text */
.welcome-text {
    font-size: 20px;
    margin: 10px 0 20px;
    color: #555;
}

/* Button Container (Flexbox Layout) */
.button-container {
    display: flex;
    gap: 20px; /* Space between the two button boxes */
    justify-content: center;
    margin-top: 20px;
}

.button-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    /* width: 0%; */
    border: 2px solid #ff6600;
    text-align: center;
}

.button a {
    text-decoration: none;
    color: inherit;
}

.button-new {
    background-color: #ff6600;
    color: white;
}

.button-new:hover {
    background-color: #e65c00;
}

.button-existing {
    background-color: transparent;
    color: #ff6600;
}

.button-existing:hover {
    background-color: #ff6600;
    color: white;
}

.button-popup {
    display: inline-block;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    /* width: 0%; */
    border: 2px solid #ff6600;
    text-align: center;

    background-color: #ff6600;
    color: white;
}

.button-popup:hover {
    background-color: transparent;
    color: #ff6600;
}

/* Message Boxes */
.message-box {
    max-width: 250px;
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    text-align: center;
}

.message-box a {
    color: #ff6600;
    text-decoration: none;
}

.message-box a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    font-size: 12px;
    color: #aaa;
    padding: 10px 0;
    text-align: center;
}

/* Popup styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 50vw;
}

.popup .popup-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.popup .popup-buttons button {
    padding: 10px 20px;
    border: none;
    background-color: #ff6600;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.popup .popup-buttons button:hover {
    background-color: #e65c00;
}

/* Close button styles */
.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.popup .close-btn:hover {
    color: #d9534f;
}

/* Subscription option buttons styling */
.subscription-options button {
    margin: 10px 0;
    width: 100%;
}

/* Responsive Layout */
@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .popup {
        width: 80vw;
    }
}