:root {
    --background-color: #FFFFFF;
    --default-color: #45474B;
    --heading-color: #45474B;
    --accent-color: #379777;
    --surface-color: #F5F7F8;
    --contrast-color: #F5F7F8;
    --accent2-color: #F4CE14;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: linear-gradient(to bottom, #f0f4f2, #e0e8e5); /* Gradient background */
}

.container {
    background-color: var(--surface-color);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--default-color);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(55, 151, 119, 0.15);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--contrast-color);
    background-color: var(--accent-color);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    width: 100%;
    margin-top: 0.5rem;
}

.btn:hover {
    background-color: #2b7d5e;
}

.btn-secondary {
    background-color: var(--accent2-color);
    color: var(--default-color);
}

.btn-secondary:hover {
    background-color: #d3ad0e;
}

.mt-3 {
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: left;
}

#sign-up-button{
    margin-top: 1.5rem;
}

        /* Base Alert Styling */
.alert {
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem; /* Standard border-radius for rounded corners */
    position: relative; /* Needed for positioning the close button */
}

/* Warning Alert Specifics */
.alert-warning {
    color: #664d03; /* Darker text for readability on yellow */
    background-color: #fff3cd; /* Light yellow background */
    border-color: #ffecb5; /* Slightly darker yellow border */
}

/* Dismissible Alert Styling */
.alert-dismissible {
    padding-right: 3rem; /* Make space for the close button */
}

/* Fade and Show for Transitions (requires JavaScript for actual transition) */
.fade {
    transition: opacity 0.15s linear; /* Smooth transition for fade effect */
}

.fade:not(.show) {
    opacity: 0; /* Hidden state */
}

.show {
    opacity: 1; /* Visible state */
}

/* Close Button Styling */
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000; /* Black color for the 'x' icon */
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat; /* SVG for the 'x' icon */
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5; /* Slightly transparent by default */
    position: absolute; /* Position relative to .alert */
    top: 0;
    right: 0;
    z-index: 2; /* Ensure it's above other content */
    margin-right: 0.5rem; /* Spacing from right edge */
    margin-top: 0.5rem; /* Spacing from top edge */
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75; /* Increase opacity on hover */
    cursor: pointer;
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Focus ring */
    opacity: 1;
}