/* Universal Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes full height */
    background: linear-gradient(135deg, #f0f4f8, #dfe7ed);
    color: #333;
}

html, body{
    height: 100%; /* Make html and body take full height */
    margin: 0; /* Remove default margin */
}

main {
    flex: 1; /* Allow main content to grow and take available space */
    display: flex;
    flex-direction: column; /* Ensure items are stacked vertically */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    padding: 20px; /* Add some padding for main content */
}

.page-container {
    display: flex;
    flex-direction: column; /* Stack items in a column */
    flex: 1; /* Allow the main section to take available space */
}

h1, h2, h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

/* Form Styling */
form {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"],
input[type="password"],
input[type="email"],
button {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 1rem;
    transition: 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: #0071e3;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.2);
}

button {
    background-color: #0071e3;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background-color: #005bb5;
}

/* Button Styles */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    text-align: center;
    flex-direction: column;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}

.button:hover {
    background-color: #005bb5;
}

/* Table Styling (Admin Page) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #d1d5db;
}

th {
    background-color: #f5f7f9;
    font-weight: 600;
}

td {
    background-color: #ffffff;
}

td form {
    display: inline;
}

#userTable td input,
#userTable td select {
    width: 100px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
}

/* Pricing Section */
#paypal-button-container {
    margin-top: 1.5rem;
    justify-content: center;
    display: flex; /* Set to flex */
    flex-direction: column; /* Stack content inside vertically */
    align-items: center; /* Center content inside */
    margin: 10px;
}

google-button {
    margin: auto auto;
}

#payment-status {
    font-weight: bold;
    color: green;
    margin-top: 1rem;
    text-align: center;

}
#versions {
    margin: 20px auto;
    place-items: center; /* Centers horizontally and vertically */
    display:flex;
    flex-direction: column;
    margin: auto auto;
}
.versions-container {
    margin: 20px auto;
    place-items: center; /* Centers horizontally and vertically */
    display:flex;
    flex-direction: row;
    margin: auto auto;
}

img.versions {
    max-width: 60%;
    height: auto;
}


/* Footer Styling */
footer {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #777;
}
/* Homepage Styles */

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    color: #333;
}

 #pricing {
     display:flex;
     flex-direction: column; /* Stack children vertically */
     text-align: center;
     justify-content: center;
     margin: 20px auto;
 }
header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Features Section */
#features, #login, #register, #versions{
    background: #f7fafc;
    padding: 30px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center text in the features section */
}

#login, #register{
    place-items: center; /* Centers horizontally and vertically */
    display:flex;
    flex-direction: column;
    margin: auto auto;
}

#features img {
    max-width: 100%;
    height: auto;
}

#features h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

#features ul {
    list-style: none;
    padding: 0;
}

#features li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

#features li:before {
    content: '•';
    color: #0071e3;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Access Section */
#access {
    margin: 40px auto;
    text-align: center;
}

#access h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

/* Footer Styling */
footer {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #d1d5db;
    width: 100%;
}
/* Footer Styling */
.site-footer {
    font-size: 0.9rem;
    color: #777;
    text-align: center; /* Center text in footer */
    padding: 20px 0; /* Padding for top and bottom */
    border-top: 1px solid #d1d5db; /* Top border */
    width: 100%; /* Full width */
    background-color: #f0f4f8; /* Matches gradient */
    position: relative; /* Positioning for footer */
    bottom: 0; /* Stick to the bottom */
    margin-top: auto; /* Push footer to the bottom of the container */
}

.footer-content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    gap: 10px; /* Space between sections */
}

.footer-links,
.footer-social {
    display: flex;
    justify-content: center; /* Center links and icons */
    gap: 15px; /* Space between links/icons */
}

.footer-links a,
.footer-social img {
    color: #333;
    text-decoration: none;
}

.footer-social img {
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    transition: transform 0.3s;
}

.footer-social img:hover {
    transform: scale(1.1); /* Slight scale on hover */
}

.footer-bottom {
    margin-top: 10px; /* Add space above copyright */
    color: #555; /* Change color for contrast */
}
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(135deg, #f0f4f8, #dfe7ed);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
}

.header-left .logo {
    max-width: 100px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0071e3;
}

.cta-button {
    padding: 8px 16px;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}

.cta-button:hover {
    background-color: #005bb5;
}

.subscription-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.plan-card {
    background: #f9f9f9;
    border-radius: 2xl;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    width: 260px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card h2 {
    margin-bottom: 0.5rem;
}

.plan-card p {
    margin-bottom: 1rem;
    color: #555;
}
