/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    color: #333;
    background: linear-gradient(to bottom, #e6f9ed, #ffffff); /* Light green gradient background */
}

/* Blurred Overlay */
.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.3); /* Slightly lighter for better contrast */
    z-index: 0;
}

/* Form Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 0px 30px;
    max-height: 95vh;
}

/* Headings */
.container h1 {
    text-align: center;
    color:  #178C4F;
    font-size: 2rem;
    margin-bottom: 15px;
}

.container h2 {
    text-align: center;
    color: #252525;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Login Form */
.login {
    padding: 10px;
}

/* Input Fields */
.login__field {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    background: transparent; /* Very light green */
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #1db954;
}

.login__icon {
    margin-right: 10px;
    color: #1db954;
    font-size: 1.2rem;
}

.login__input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 1rem;
    color: #333;
}

/* Submit Button */
.login__submit {
    background: linear-gradient(45deg, #1db954, #4fd88b);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.login__submit:hover {
    background: linear-gradient(45deg, #4fd88b, #1db954);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.login__submit .button__icon {
    transition: transform 0.3s;
}

.login__submit:hover .button__icon {
    transform: translateX(5px);
}

/* Signup Link */
.signup-link {
    text-align: center;
    margin: 10px;
    font-weight: bold;
}

.signup-link a {
    color: #1db954;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.signup-link a:hover {
    text-decoration: underline;
    color: #117a3b; /* Darker shade for contrast */
}

/* General Alert Messages */
.alert-messages {
    position: fixed;            /* stays on screen even if you scroll */
    top: 20px;                  /* distance from top */
    right: 20px;                /* distance from right */
    z-index: 1050;              /* above most elements */
    
    border-radius: 5px;
    padding: 10px 15px;
    background: #eafaf1;
    border-left: 4px solid #1db954;
    color: #117a3b;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 1;
    transition: opacity 0.5s ease-out;
}
.alert-messages.hide {
    opacity: 0;
}

/* Large Icon */
.icon-large {
    text-align: center;
    margin: 20px 0;
}

.icon-large img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.15));
}
