html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Background */
.portal-bg {
    background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
}

/* Modern Card */
.modern-card {
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

    .modern-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    }

/* Icon */
.modern-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    color: white;
    font-size: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Button */
.btn-primary {
    border-radius: 12px;
}

.card-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient( to right, transparent, #d0d7e2, transparent );
}

.status-text {
    font-size: 14px;
    color: #6c757d;
    letter-spacing: 0.5px;
}

/* Background */
.login-bg {
    background: linear-gradient(135deg, #4f46e5, #3b82f6, #06b6d4);
    height: 80vh;
    width: 100vw;
    margin-left: -120px
}


/* Card */
.login-card {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Title */
.login-title {
    color: #1e293b;
}

.login-subtitle {
    color: #64748b;
}

/* Inputs */
.form-control {
    border-radius: 12px;
}

    .form-control:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
    }

/* Button */
.btn-login {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    border: none;
    border-radius: 14px;
    transition: all 0.2s ease;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4);
    }

/* Links */
.login-link {
    color: #4f46e5;
}

    .login-link:hover {
        text-decoration: underline;
    }

/* Page background */
.register-bg {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    height: 80vh;
    width: 100vw;
    margin-left: -120px
}

/* Card */
.register-card {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Headings */
.register-title {
    font-weight: 700;
    color: #1e293b;
}

.register-subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

/* Inputs */
.form-control {
    border-radius: 12px;
    height: 48px;
}

    .form-control:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 4px rgba(99,102,241,.25);
    }

/* Floating labels fix */
.form-floating > label {
    color: #64748b;
}

/* Validation */
.text-danger {
    font-size: 0.8rem;
}

/* Buttons */
.btn-register {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 14px;
    padding: 10px 24px;
    font-weight: 600;
}

    .btn-register:hover {
        box-shadow: 0 12px 24px rgba(34,197,94,.35);
    }

.btn-reset {
    border-radius: 14px;
}

/* Links */
.register-link {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
}

    .register-link:hover {
        text-decoration: underline;
    }
