.login-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
    padding-top: 70px;
    background-color: #f4fdf9;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 30px 35px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    margin: 25px;
    animation: fadeInUp 0.8s ease forwards;
}

.login-style {
    font-size: 1.9rem;
    color: #006A4E;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.login-card input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.login-card button {
    width: 100%;
    padding: 12px;
    background-color: #006A4E;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.login-card button:hover {
    background-color: #009E70;
}

.login-card p {
    margin-top: 15px;
}

.login-card a {
    color: #006A4E;
    text-decoration: none;
}

.login-card a:hover {
    text-decoration: underline;
}

#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 80%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.toast {
    background-color: red;
    color: white;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

#copyright-style {
    background-color: #006A4E;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 998;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-icon i {
    font-size: 18px;
    color: white;
    cursor: pointer;
}

.footer-icon i:hover {
    color: #A5D6A7;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    width: 85%;
    max-width: 480px;
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-content h2 {
    color: #006A4E;
    margin-bottom: 15px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
}


@media (max-width: 1200px) {
    .login-card { max-width: 400px; padding: 25px; }
    .login-style { font-size: 1.7rem; }
}

@media (max-width: 991px) {
    .login-card { max-width: 360px; padding: 22px; }
    .login-style { font-size: 1.6rem; }
}

@media (max-width: 767px) {
    .login-card { max-width: 330px; padding: 20px; margin: 15px; }
    .login-style { font-size: 1.5rem; }
    .login-card input, .login-card button { font-size: 0.95rem; padding: 10px; }
}

@media (max-width: 575px) {
    .login-card { width: 95%; max-width: 300px; padding: 18px; }
    .login-style { font-size: 1.4rem; }
    .login-card input, .login-card button { font-size: 0.9rem; padding: 9px; }
}

@media (max-width: 400px) {
    .login-card { width: 95%; max-width: 280px; padding: 15px; }
    .login-style { font-size: 1.3rem; }
    .login-card input, .login-card button { font-size: 0.9rem; padding: 8px; }
}


@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
