/* Body Background Gradient */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.box {
    position: relative;
    width: 380px;
    padding: 40px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    overflow: visible; /* let content grow naturally */
    z-index: 1;
}

.borderLine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(45deg, #00ccff, #d400d4, #00ccff, #d400d4);
    background-size: 400% 400%;
    animation: animate 10s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes animateBorder {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Form Card Body */
.box .card-body {
    position: relative;
    z-index: 2;
}

/* Heading */
.box h4 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 24px;
}

/* Input Box Group */
.inputBox {
    position: relative;
    margin-bottom: 30px;
}

/* Input Field */
.inputBox input,
.inputBox select {
    width: 100%;
    padding: 12px 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #8f8f8f;
    color: #fff;
    font-size: 16px;
    outline: none;
}

/* Floating Label Text */
.inputBox span {
    position: absolute;
    left: 10px;
    padding: 0 5px;
    color: #8f8f8f;
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s ease;
    top: 12px;
    background: #1e1e2f;
}

/* Input Focus Effect */
.inputBox input:focus ~ span,
.inputBox input:valid ~ span,
.inputBox select:focus ~ span {
    top: -12px;
    left: 5px;
    color: #ff0057;
    font-size: 12px;
}

/* Input Underline Animation */
.inputBox i {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff0057;
    transition: 0.4s ease;
}

.inputBox input:focus ~ i,
.inputBox select:focus ~ i {
    width: 100%;
}

/* Remember & Forgot Links */
.links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.links a {
    color: #ff0057;
    font-size: 12px;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.links label {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #8f8f8f;
}

.links input[type="checkbox"] {
    margin-right: 5px;
    accent-color: #ff0057;
}

/* Submit Button */
.box button {
    width: 100%;
    padding: 12px;
    background: #ff0057;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
}

.box button:hover {
    background: #e6004c;
}

/* Alert Messages */
.alert {
    padding: 10px 15px;
    background: #f44336;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 20px;
}

/* Custom Select Styling (optional) */
.inputBox select {
    appearance: none;
    background: transparent;
    border: none;
    border-bottom: 2px solid #8f8f8f;
    color: #fff;
    padding-right: 30px;
}

.inputBox select option {
    color: #000;
}
#pageloader1 {
    display: none;
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    padding-top: 20%;
}
#pageloader1 img {
    width: 50px;
}
