@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* 🏆 Modern, Professional Styling */
body {
    font-family: 'oswald', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

/* 🎯 Container Styling */
.container {
    width: 90%;
    max-width: 500px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* Ensures no child element overflows */
}

/* 🔘 Input & Button Styling */
input, button {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ced4da;
    font-size: 16px;
}

button {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


button:hover {
    background: linear-gradient(to right, #0056b3, #003f7f);
    transform: translateY(-2px);
}

/* 🛑 Logout Button */
.logout {
    background: linear-gradient(to right, #dc3545, #a71d2a);
}

.logout:hover {
    background: linear-gradient(to right, #a71d2a, #80131d);
}

/* ✅ Success & Error Messages */
.success {
    color: #28a745;
    font-weight: bold;
}

.error {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
    display: block;
}

.splash-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 120px); /* Adjust height to fit content */
    margin-top: -10px; /* Moves it slightly up */
}


.splash-content {
    background: rgba(255, 255, 255, 0.9); /* White with slight transparency */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.splash-content iframe {
    border-radius: 8px;
    max-width: 100%;
}

#startButton {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

#startButton:hover {
    background: #0056b3;
}


#wizard-container {
    width: 80%;
    max-width: 600px;
    margin: 10px auto; /* Reduced margin */
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #218838;
}

/* 📌 Improve Spacing for Referral Links Section */
.container div {
    margin-bottom: 15px; /* Adds space between elements */
}

/* 🎯 Improve Label & Link Styling */
.container label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.container p {
    margin: 5px 0 10px; /* Better separation between elements */
    font-size: 14px;
    color: #555;
}

/* 🔗 Referral Links Styling */
.container a {
    color: #007bff;
    text-decoration: underline;
    font-size: 14px;
    font-weight: bold;
}

.container a:hover {
    color: #0056b3;
}

/* 📏 Input Field Adjustments */
.container input {
    width: calc(100% - 20px) !important; /* Adjusts to match container width */
    max-width: 100% !important; /* Ensures no overflow */
    padding: 10px;
    font-size: 14px;
    margin: 0 auto 15px; /* Centers the input field */
    box-sizing: border-box; /* Keeps padding inside */
    display: block; /* Ensures it doesn't float */
}



/* 🗃️ Improve Spacing for the Sponsor & Referrals Section */
h3 {
    margin-top: 20px;
}

/* 📋 Table Styling (Direct Referrals Section) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #f8f9fa;
}

/* ✅ Success & Error Messages Spacing */
.success, .error {
    margin-bottom: 15px;
}

/* 📌 Fix 'Copy to Clipboard' Button */
#copySuccess {
    font-size: 14px;
    margin-top: 5px;
}

/* 📜 Improve 'Now Test Your Own Link' Section */
.container .test-own-link {
    font-size: 12px;
    color: gray;
    margin-top: 5px;
}

/* 🎯 Add Spacing Between Referral ID and Join Link */
.container .join-link {
    display: block;
    margin-top: 5px;  /* Adds some space */
    margin-bottom: 15px; /* Space before input field */
}
/* 📌 Adjust Referral ID Label */
.referral-label {
    margin-top: 5px;
    font-weight: bold;
    display: block;
}

/* 📌 Add Spacing Between Program Sections */
.program-section {
    margin-bottom: 20px;
}

/* 🎯 Style the Horizontal Divider */
.program-divider {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 15px 0;
}

