
/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Design */
body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;

    background: linear-gradient(
        135deg,
        #dcefdc,
        #b8d9bd,
        #e8f5e9
    );

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

/* Main Container */
.login-container {
    width: 100%;
    max-width: 420px;
}

/* Login Card */
.login-card {
    background: #ffffff;

    padding: 35px 30px;

    border-radius: 20px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);

    text-align: center;
}

/* Logo */
.logo {
    width: 75px;
    height: 75px;

    background: #e4f4e5;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 auto 15px;

    font-size: 38px;
}

/* Heading */
h1 {
    color: #176b36;
    font-size: 28px;
    margin-bottom: 8px;
}

.subtitle {
    color: #777;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Input Group */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Input Fields */
.input-group input {
    width: 100%;
    padding: 13px;

    border: 1px solid #ccc;
    border-radius: 8px;

    font-size: 15px;
    outline: none;

    transition: 0.3s;
}

.input-group input:focus {
    border-color: #218c4a;
    box-shadow: 0 0 5px rgba(33, 140, 74, 0.2);
}

/* Password Box */
.password-box {
    display: flex;
    align-items: center;

    border: 1px solid #ccc;
    border-radius: 8px;

    overflow: hidden;
}

.password-box input {
    border: none;
    box-shadow: none;
}

.password-box input:focus {
    box-shadow: none;
}

.password-box button {
    border: none;
    background: white;

    color: #218c4a;
    font-weight: bold;

    padding: 12px;
    cursor: pointer;
}

/* Login Button */
.login-btn {
    width: 100%;

    padding: 14px;

    background: #218c4a;
    color: white;

    border: none;
    border-radius: 8px;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.login-btn:hover {
    background: #145e30;
    transform: translateY(-2px);
}

/* Message */
#message {
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
}

.register-link {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.register-link a {
    color: #198754;
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}


/* Footer */
.footer {
    margin-top: 30px;
    color: #888;
    font-size: 12px;
    line-height: 1.8;
}

/* Mobile Responsive */
@media (max-width: 480px) {

    .login-card {
        padding: 30px 20px;
    }

    h1 {
        font-size: 24px;
    }

}
