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

/* Body Styling */
body {
    background: linear-gradient(135deg, #f3f4f9, #d1dbe7);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Form Container */
.from {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 380px;
    transform: scale(0.9);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

/* Animation for form appearance */
@keyframes fadeInUp {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header Styling */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header label {
    font-size: 30px;
    color:#182249;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: textPulse 2s infinite alternate;
}

/* Animation for header text pulse */
@keyframes textPulse {
    0% {
        color: #4a90e2;
    }
    100% {
        color: #1d70c1;
    }
}

/* Input Fields */
input[type="email"], input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 1px solid #d1dbe7;
    border-radius: 8px;
    background: #f9f9f9;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Input focus effect */
input:focus {
    border-color: #4a90e2;
    background: #f1f8ff;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
    outline: none;
}

/* Captcha Styling */
.g-recaptcha {
    margin-bottom: 20px;
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

/* Captcha hover effect */
.g-recaptcha:hover {
    transform: scale(1.15);
}

/* Submit Button */
input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4a90e2, #1d70c1);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.1);
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #3b7dc9, #185da4);
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.3);
}

/* Alerts */
.alert, .filealert {
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    animation: fadeInAlert 0.6s forwards;
    border: 1px solid transparent;
}

.alert {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.filealert {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

/* Animation for alert fade-in */
@keyframes fadeInAlert {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* add something for my alert */
.recaptcha-wrapper {
    position: relative;
    display: inline-block;
}

.recaptcha-error {
   
    bottom: 5px;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    color: red;
    font-size: 13px;
    font-weight: bold;
    padding: 2px 4px;
    text-align: center;
    pointer-events: none; /* don’t block clicks */
    z-index: 10;
}

