/* General body styles */
body {
    background: linear-gradient(135deg, #f0f4ff, #dbeafe); /* soft blue gradient */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



/* Form container */
.form-container {
    max-width: 380px;
    width: 100%;
    background: #f0f4ff;
    padding: 25px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(33, 100, 243, 0.15);
    transition: box-shadow 0.3s ease;
}

.form-container:hover {
    box-shadow: 0 8px 25px rgba(33, 100, 243, 0.3);
}

/* Heading */
.form-container h3 {
    font-weight: 700;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form-container h3 .bi-person-plus-fill {
    font-size: 2rem;
    color: #2563eb;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* Labels */
.form-label {
    font-weight: 600;
    color: #1e3a8a;
    font-size: 0.95rem;
}

/* Input fields */
.form-control {
    width: 100%;
    height: 40px;
    font-size: 0.95rem;
    border: 2px solid #93c5fd;
    border-radius: 10px;
    background-color: #fff;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    padding-right: 70px; /* space for icons */
}

.form-control:hover {
    background-color: #e0e7ff;
    border-color: #3b82f6;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 8px #2563ebaa;
    background-color: #fff;
    outline: none;
}

/* Input icon wrapper */
.input-with-icon {
    position: relative;
    margin-bottom: 1rem;
}

.input-with-icon .toggle-password {
    position: absolute;
    top: 50;
    bottom: 0;
    right: 12px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: #2563eb;
    cursor: pointer;
    transition: color 0.3s ease;
}


.input-with-icon .toggle-password:hover {
    color: #1e40af;
}

/* Confirm password match/error icon */
#confirm-status-icon {
    position: absolute;
    top: 50%;
    right: 42px;  /* left of the eye icon */
    transform: translateY(-50%);
    font-size: 1.3rem;
    pointer-events: none;
    color: gray;
}

/* Tooltip or password strength text */
.strength-tooltip,
#password + small {
    display: block;
    margin-top: 5px;
    color: gray;
    font-size: 0.85rem;
}

/* Submit button */
.btn-success {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
    transition: background 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.7);
}

/* Centered link below form */
.text-center a {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.text-center a:hover {
    color: #1e40af;
    text-decoration: underline;
}