/* =====================================================
   Academy Authentication Styles
   ===================================================== */

:root {
    /* Academy Colors */
    --academy-dark-blue: #024458;
    --academy-black: #000000;
    --academy-gold: #F2B120;
    --academy-cyan: #05A8C7;
    --academy-teal: #0E848F;
    --academy-light-cyan: #57CAD6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--academy-dark-blue) 0%, var(--academy-teal) 100%);
    --gradient-accent: linear-gradient(135deg, var(--academy-cyan) 0%, var(--academy-light-cyan) 100%);
    --gradient-gold: linear-gradient(135deg, #F2B120 0%, #FFC850 100%);
}

/* Page Background */
body {
    background-color: #f0f4f7;
    background-image: radial-gradient(at 10% 10%, rgba(5, 168, 199, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(242, 177, 32, 0.05) 0px, transparent 50%);
}

.auth-page-card {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(2, 68, 88, 0.08);
    overflow: hidden;
    background: transparent;
    /* Wrapper is transparent */
}

/* The actual card content wrapper in layout is bg-white */
.auth-page-card>div.bg-white {
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Mask Effect behind the card */
.auth-page-card__mask {
    position: absolute;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background: radial-gradient(circle at 100% 0%, rgba(87, 202, 214, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(242, 177, 32, 0.1) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Inputs */
.form-group-label {
    font-weight: 600;
    color: var(--academy-dark-blue);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    background-color: #f9fbfd;
    border: 2px solid #eaeff4;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 15px;
    color: var(--academy-dark-blue);
    transition: all 0.3s ease;
    height: 50px;
}

.form-control:focus {
    background-color: white;
    border-color: var(--academy-cyan);
    box-shadow: 0 0 0 4px rgba(5, 168, 199, 0.1);
    color: var(--academy-dark-blue);
}

/* Password Visibility Toggle */
.password-input-visibility {
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}

.rtl .password-input-visibility {
    right: auto;
    left: 15px;
}

/* Login Title */
h1.font-24 {
    color: var(--academy-dark-blue);
    font-weight: 800;
    font-size: 28px !important;
    position: relative;
    padding-bottom: 15px;
}

h1.font-24::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.rtl h1.font-24::after {
    right: 0;
    left: auto;
}

/* Welcome Text */
.font-16.font-weight-bold {
    color: var(--academy-teal);
    font-size: 18px !important;
}

/* Submit Button */
.btn-primary.btn-block {
    background: var(--gradient-primary) !important;
    border: none;
    border-radius: 50px;
    height: 54px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(2, 68, 88, 0.2);
    transition: all 0.3s ease;
}

.btn-primary.btn-block:hover {
    background: var(--gradient-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(5, 168, 199, 0.3);
}

.btn-primary.btn-block:active {
    transform: translateY(0);
}

/* Links */
a.text-dark {
    color: var(--academy-dark-blue) !important;
    transition: color 0.3s ease;
}

a.text-dark:hover {
    color: var(--academy-cyan) !important;
    text-decoration: none;
}

/* Social Login */
.d-flex-center.size-48 {
    width: 50px;
    height: 50px;
    border-radius: 15px !important;
    background: white !important;
    border: 2px solid #eef1f5 !important;
    transition: all 0.3s ease;
}

.d-flex-center.size-48:hover {
    border-color: var(--academy-cyan) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Info Box */
.bg-danger-20 {
    background-color: rgba(255, 77, 79, 0.1) !important;
    border: 1px solid rgba(255, 77, 79, 0.2) !important;
}

/* Auth Methods Switcher (Radio Tabs) */
.auth-register-method-item {
    position: relative;
    text-align: center;
}

.auth-register-method-item label {
    display: block;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    color: #888;
    transition: all 0.3s ease;
    margin: 0;
}

.auth-register-method-item input[type="radio"] {
    display: none;
}

.auth-register-method-item input[type="radio"]:checked+label {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 168, 199, 0.3);
}

.border-gray-300.rounded-12 {
    border: 1px solid #eef1f5 !important;
    background: #f9fbfd;
    padding: 5px !important;
}

/* Slider Section */
.auth-slider-container {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

.auth-slider-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.auth-slider-container h4 {
    color: white !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.auth-slider-container .text-gray-500 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 10px;
}