/* Reset and Base Styling */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Link Styling */
a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: #388E3C;
    transform: scale(1.05); /* Slight zoom effect */
}

/* Home Button */
.home {
    position: absolute;
    top: 20px;
    left: 20px;
}

.home a {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.home a:hover {
    background-color: white;
    color: #4CAF50;
    border-color: #4CAF50;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Main Heading Styling */
h1 {
    text-align: center;
    margin: 40px 0;
    font-size: 30px;
    color: #2C3E50;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
form {
    width: 90%;
    max-width: 500px;
    background: linear-gradient(145deg, #ffffff, #e4e4e4);
    padding: 40px;
    margin: 0 auto 40px auto;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

form:hover {
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Form Labels */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
}

/* Form Inputs */
input {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
}

input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0px 4px 15px rgba(76, 175, 80, 0.1);
    background-color: #fff;
}

/* Password Toggle Container */
.password-container {
    position: relative;
}

.password-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
}

.password-container .toggle-password:hover {
    color: #4CAF50;
}

/* Error Messages */
.error-message {
    color: #FF6347; /* Tomato color for errors */
    font-size: 14px;
    margin-bottom: 15px;
}

/* Buttons */
button {
    width: 100%;
    padding: 14px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #45a049;
    box-shadow: 0px 6px 18px rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Timer for OTP */
.timer {
    font-size: 14px;
    color: #FF6347; /* Tomato color */
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

/* Center Buttons */
.center-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Container for the login button */
.k {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Login Button Styling */
.k .login-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Hover Effect */
.k .login-btn:hover {
    background-color: white;
    color: #4CAF50;
    border-color: #4CAF50;
    box-shadow: 0px 4px 15px rgba(76, 175, 80, 0.2);
}


/* Gradient Background for Form */
form {
    background: linear-gradient(45deg, #6DB3F2, #1E90FF);
    color: white;
}

/* Responsive Design */
@media (max-width: 600px) {
    form {
        padding: 20px;
    }

    .home a {
        font-size: 14px;
        padding: 8px 16px;
    }

    button {
        font-size: 16px;
    }
}
