/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    font-family: RobotoRegular, sans-serif !important;
    overflow: hidden;
}

/* Main Login Wrapper - Split Screen */
.login-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Left Side - Login Form */
.login-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    position: relative;
    z-index: 2;
}

.login-content {
    width: 100%;
    max-width: 450px;
    animation: fadeInLeft 0.6s ease-out;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Decorative Element */
.login-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00A651, transparent);
}

.decoration-icon {
    color: #00A651;
    font-size: 32px;
    animation: pulse 2s ease-in-out infinite;
}

.login-title {
    font-size: 52px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 15px;
    margin-top: 0;
    text-align: center;
    font-family: "UnibetPro", sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 40px;
    font-weight: 400;
    text-align: center;
}

/* Form Elements */
.login-group {
    margin-bottom: 25px;
}

.login-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #111111;
    margin-bottom: 10px;
    font-family: RobotoBold, sans-serif !important;
}

.login-label i {
    color: #00A651;
    font-size: 16px;
}

/* Input Wrapper with Icon */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
    font-size: 18px;
    transition: color 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.form-control {
    width: 100%;
    height: 52px;
    padding: 12px 50px 12px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: RobotoRegular, sans-serif !important;
    background-color: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #00A651;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 166, 81, 0.12);
}

.input-wrapper:focus-within .input-icon {
    color: #00A651;
}

.form-control::placeholder {
    color: #aaaaaa;
}

/* Login Button */
.login-bttn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #FFE71F 0%, #f5d617 100%);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    cursor: pointer;
    text-transform: uppercase;
    font-family: "UnibetPro", sans-serif !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(255, 231, 31, 0.35);
    position: relative;
    overflow: hidden;
}

.login-bttn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.login-bttn:hover::before {
    left: 100%;
}

.login-bttn:hover {
    background: linear-gradient(135deg, #fff133 0%, #f5d617 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 231, 31, 0.5);
}

.login-bttn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 231, 31, 0.35);
}

.login-bttn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.login-bttn:hover i {
    transform: translateX(5px);
}

/* Loading State */
.login-bttn.loading {
    cursor: not-allowed;
    opacity: 0.8;
}

.login-bttn.loading:hover {
    transform: none;
    background: linear-gradient(135deg, #FFE71F 0%, #f5d617 100%);
    box-shadow: 0 6px 20px rgba(255, 231, 31, 0.35);
}

.login-bttn.loading:hover::before {
    left: -100%;
}

.button-loader {
    display: none;
    align-items: center;
    justify-content: center;
}

.button-loader i {
    font-size: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Error Message */
.login-error-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: #ff4444;
    border-radius: 8px;
    margin-bottom: 25px;
    animation: shake 0.5s ease;
}

.login-error-container i {
    font-size: 20px;
    color: white;
}

.login-error {
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* Footer */
.login-footer {
    margin-top: 40px;
    text-align: center;
}

.footer-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 0 auto 20px;
}

.login-footer p {
    font-size: 13px;
    color: #999999;
    font-weight: 400;
}

/* Right Side - Illustration with Sport Theme */
.login-right {
    flex: 1;
    background: linear-gradient(135deg, #00A651 0%, #008f45 50%, #007a3a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sport Elements Container */
.sport-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Sport Icons - Animated */
.sport-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    font-size: 60px;
    animation: floatSport 8s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: 15%;
    font-size: 70px;
    animation-delay: 0s;
    animation-duration: 10s;
}

.icon-2 {
    top: 20%;
    right: 20%;
    font-size: 50px;
    animation-delay: 1.5s;
    animation-duration: 12s;
}

.icon-3 {
    bottom: 15%;
    left: 10%;
    font-size: 65px;
    animation-delay: 3s;
    animation-duration: 9s;
}

.icon-4 {
    top: 60%;
    right: 15%;
    font-size: 55px;
    animation-delay: 2s;
    animation-duration: 11s;
}

.icon-5 {
    top: 40%;
    left: 8%;
    font-size: 45px;
    animation-delay: 4s;
    animation-duration: 13s;
}

.icon-6 {
    bottom: 30%;
    right: 25%;
    font-size: 50px;
    animation-delay: 2.5s;
    animation-duration: 10s;
}

.icon-7 {
    top: 75%;
    left: 60%;
    font-size: 60px;
    animation-delay: 1s;
    animation-duration: 14s;
}

.icon-8 {
    top: 30%;
    left: 35%;
    font-size: 55px;
    animation-delay: 3.5s;
    animation-duration: 11s;
}

/* Decorative Circles */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: pulse 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: -80px;
    animation-delay: 4s;
}

.circle-4 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: -40px;
    animation-delay: 1s;
}

.circle-5 {
    width: 180px;
    height: 180px;
    top: 30%;
    left: 50%;
    animation-delay: 3s;
}

/* Animated Lines */
.line {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    animation: rotateLine 20s linear infinite;
}

.line-1 {
    width: 2px;
    height: 150%;
    top: -25%;
    left: 25%;
    transform-origin: center;
    animation-delay: 0s;
}

.line-2 {
    width: 2px;
    height: 150%;
    top: -25%;
    right: 30%;
    transform-origin: center;
    animation-delay: 7s;
}

.line-3 {
    width: 2px;
    height: 150%;
    top: -25%;
    left: 60%;
    transform-origin: center;
    animation-delay: 14s;
}

/* Central Brand Title */
.illustration-center {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInScale 1s ease-out;
}

.brand-title {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    font-family: "UnibetPro", sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: glowPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatSport {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) translateX(-15px) rotate(-3deg);
    }
    75% {
        transform: translateY(-25px) translateX(15px) rotate(4deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.08;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

@keyframes rotateLine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                     0 0 30px rgba(255, 255, 255, 0.2),
                     0 0 40px rgba(255, 231, 31, 0.2);
    }
    50% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                     0 0 50px rgba(255, 255, 255, 0.5),
                     0 0 70px rgba(255, 231, 31, 0.4);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-right {
        display: none;
    }
    
    .login-left {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .login-left {
        padding: 30px 20px;
    }
    
    .login-content {
        max-width: 100%;
        padding: 40px 30px;
    }
    
    .login-title {
        font-size: 36px;
    }
    
    .login-subtitle {
        font-size: 14px;
    }
    
    .decoration-line {
        width: 40px;
    }
    
    .decoration-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .login-left {
        padding: 20px 15px;
    }
    
    .login-content {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .login-title {
        font-size: 32px;
    }
    
    .form-control {
        height: 48px;
        font-size: 14px;
        padding-right: 48px;
        padding-left: 16px;
    }
    
    .input-icon {
        right: 16px;
        font-size: 16px;
    }
    
    .login-bttn {
        height: 52px;
        font-size: 16px;
    }
    
    .decoration-line {
        width: 30px;
    }
    
    .decoration-icon {
        font-size: 24px;
    }
}

/* Larger Screens - Make brand title even bigger */
@media (min-width: 1400px) {
    .brand-title {
        font-size: 96px;
    }
}

/* Print Styles */
@media print {
    .login-wrapper {
        display: none;
    }
}
