/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* Theme Styles */  
      --e-btn-color: #082c4f;
      --e-btn-color-hov: #082c4f;
      --e-global-brand-font-1: 'Poppins', sans-serif;
    }

/* General Styles */
html, body {
    height: 100vh; /* Full height */
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    font-family: var(--e-global-brand-font-1);
    margin: 0 auto; /* Centers the body horizontally */
    padding: 10vh 20px 0; /* Keeps the top padding */
    background-color: #f8f9fa;
    color: #333;
    text-align: center;
    max-width: 500px; /* Restricts width */
    width: 100%; /* Ensures responsiveness */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}    

.logo {
    display: none;
    max-width: 60%;
    margin-top: 3rem;
}

h1, h2 {
    text-align: center; /* Center-aligns the text */
    margin-bottom: 4px; /* Adds some space between the headings */
}

h1 {
    font-size: 24px; /* Slightly larger than h2 */
    margin-top: 12px; /* Prevent unnecessary top margin */
}

h2 {
    font-size: 16px; /* Smaller than h1 for hierarchy */
    font-weight: normal; /* Lighter weight to contrast h1 */
    color: #555; /* Subtle color difference */
    margin-top: 0px; /* Prevent unnecessary top margin */
    margin-bottom: 16px;
}

p {
    margin: 0;
}

a {
    color: #082c4f;
  }
  a:hover {
    color: #05407a; /* A slightly lighter blue for hover */
  }  

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top:20px;
    width: 100%;
}

/* Input Fields */
input, textarea, button {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    font-size: 18px;
    border: 1.5px solid #666;
    border-radius: 8px;
    box-sizing: border-box; /* Prevents padding from increasing width */
    font-family: var(--e-global-brand-font-1);
}

/* Textarea Adjustments */
textarea {
    resize: vertical;
    min-height: 100px;
}

/* Button Styling */
button {
    background-color: var(--e-btn-color);
    color: white;
    border: none;
    cursor: pointer;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    letter-spacing: 2px;
}

.rounds-button {
    background-color: var(--e-btn-color);
    color: white;
    border: none;
    cursor: pointer;
    padding: 14px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    letter-spacing: 2px;
}

button:hover {
    background-color: var(--e-btn-color-hov);
}

.success, .error {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    padding: 12px;
    border-radius: 6px;
    margin: 10px auto;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px; /* Adjust padding as needed */
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f4f4f4;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

/* Footer Link */
footer a {
    color: #987f52;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Specific Styles */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    input, textarea, button {
        font-size: 16px;
    }
    
    footer {
        font-size: 13px;
    }
}
