/* Base styling and background */
body {
    font-family: 'Poppins', sans-serif;
    /* A fresh, modern gradient for Talenty */
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    overflow-x: hidden; /* Prevent horizontal scroll */
    cursor: none; /* Hide the default system cursor */
}

/* Custom Cursor Styling */
.custom-cursor {
    width: 25px;
    height: 25px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.2s ease-out;
    z-index: 9999;
}

/* Cursor grow effect on hover over interactive elements */
button:hover ~ .custom-cursor,
a:hover ~ .custom-cursor,
input:hover ~ .custom-cursor {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Login Card Styling (Glassmorphism effect) */
.login-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: white;
    width: 100%;
    max-width: 480px;
}

.card-title {
    font-weight: 700;
    font-size: 2.2rem;
}

.card-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Form Control Styling */
.form-control {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    color: white;

}

/* Floating label styles */
.form-floating > label {
    color: rgba(255, 255, 255, 0.8);
}

/* .form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #fff;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
} */

/* Button Styling */
.btn-primary {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #0072ff;
    padding: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #f1f1f1;
    border-color: #f1f1f1;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:active {
    transform: translateY(0);
}
