/* not used */
#template-login .u-section-1 .u-sheet-1 {
    min-height: 80vh;
    position: relative;
    margin-bottom: 140px ;
}

/* Background elements */
#template-login .u-section-1 .u-shape-1 {
    width: 40%;
    height: 40%;
    background-image: none;
    position: absolute;
    top: 10%;
    left: 0;
    z-index: 0;
}

#template-login .u-section-1 .u-shape-2 {
    width: 180px;
    height: 180px;
    margin: 0 0 0 auto;
    position: absolute;
    bottom: 15%;
    right: 10%;
    z-index: 0;
}

#template-login .u-section-1 .u-shape-3 {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 20%;
    right: 20%;
    z-index: 0;
    opacity: 0.7;
}

/* Login card */
#template-login .u-section-1 .u-group-1 {
    width: 570px;
    min-height: 600px;
    background-image: none;
    margin: 20px auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 30px !important;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

#template-login .u-section-1 .u-container-layout-1 {
    padding: 40px;
}

/* Login icon */
#template-login .login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f7ff;
    border-radius: 50%;
    color: #2777e1;
}

#template-login .u-section-1 .u-text-2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 auto 30px;
    color: #2777e1;
}

#template-login .u-section-1 .u-form-1 {
    width: 100%;
    margin: 20px auto 0;
}

/* Input styling */
#template-login .input-container {
    margin-bottom: 20px;
}

#template-login .u-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
    transition: all 0.3s;
}

#template-login .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#template-login .input-icon {
    position: absolute;
    left: 15px;
    color: #888;
    z-index: 2;
}

#template-login .toggle-password {
    position: absolute;
    right: 15px;
    color: #888;
    cursor: pointer;
    z-index: 2;
}

#template-login .u-input {
    width: 100%;
    padding: 15px 15px 15px 45px !important;
    border-radius: 10px !important;
    background-color: #f5f5f5 !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease;
    font-size: 1rem;
}

#template-login .u-input:focus {
    border-color: #2777e1 !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(39, 119, 225, 0.1);
}

#template-login .u-input::placeholder {
    color: #aaa;
}

/* Checkbox styling */
#template-login .checkbox-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

#template-login .u-field-input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

#template-login .u-field-input[type="checkbox"]:checked {
    background-color: #2777e1;
    border-color: #2777e1;
}

#template-login .u-field-input[type="checkbox"]:checked::after {
    content: "✓";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

#template-login .remember-me {
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    color: #666;
}

/* Button styling */
#template-login .u-btn-1, #template-login .u-btn-2 {
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 40px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#template-login .btn-arrow {
    margin-left: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#template-login .u-btn-1:hover .btn-arrow,
#template-login .u-btn-2:hover .btn-arrow {
    transform: translateX(5px);
}

/* Forgot password link */
#template-login .u-section-1 .u-text-3 {
    margin: 20px auto;
    text-decoration: none;
    color: #2777e1;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

#template-login .u-section-1 .u-text-3:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #2777e1;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s;
}

#template-login .u-section-1 .u-text-3:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Separator */
#template-login .separator {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

#template-login .separator-line {
    flex-grow: 1;
    height: 1px;
    background-color: #eee;
}

#template-login .separator-text {
    padding: 0 15px;
    color: #999;
    font-size: 0.9rem;
}

#template-login .u-section-1 .u-text-4 {
    margin: 20px auto 15px;
    color: #666;
    font-size: 0.95rem;
}

/* Social login */
#template-login .social-login {
    margin-top: 30px;
    text-align: center;
}

#template-login .social-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

#template-login .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#template-login .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
}

#template-login .social-icon:hover {
    background-color: #2777e1;
    color: white;
    transform: translateY(-3px);
}

/* Animation classes */
#template-login .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#template-login .fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#template-login .fadeInLeft {
    animation-name: fadeInLeft;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#template-login .fadeInRight {
    animation-name: fadeInRight;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#template-login .fadeInDown {
    animation-name: fadeInDown;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

#template-login .zoomIn {
    animation-name: zoomIn;
    animation-duration: 0.6s;
}

/* Floating animation for shapes */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

#template-login .floating-shape {
    animation: floating 6s ease-in-out infinite;
}

#template-login .floating-shape-small {
    animation: floating 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Pulse animation for buttons */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(39, 119, 225, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(39, 119, 225, 0); }
    100% { box-shadow: 0 0 0 0 rgba(39, 119, 225, 0); }
}

#template-login .pulse-on-hover:hover {
    animation: pulse 1.5s infinite;
}

/* Responsive styles */
@media (max-width: 767px) {
    #template-login .u-section-1 .u-group-1 {
        width: 90%;
        min-height: 550px;
    }

    #template-login .u-section-1 .u-container-layout-1 {
        padding: 30px 20px;
    }

    #template-login .u-section-1 .u-text-2 {
        font-size: 1.75rem;
    }

    #template-login .login-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 575px) {
    #template-login .u-section-1 .u-group-1 {
        width: 95%;
    }

    #template-login .u-section-1 .u-text-2 {
        font-size: 1.5rem;
    }

    #template-login .login-icon {
        width: 60px;
        height: 60px;
    }

    #template-login .u-btn-1, #template-login .u-btn-2 {
        padding: 10px 30px !important;
        font-size: 0.9rem;
    }
}

/* Fix for mobile devices */
@media (max-width: 480px) {
    #template-login .u-section-1 .u-sheet-1 {
        padding: 20px 0;
    }

    #template-login .u-section-1 .u-group-1 {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #template-login .social-icons {
        gap: 10px;
    }

    #template-login .social-icon {
        width: 35px;
        height: 35px;
    }
}

.content {
    padding-top: 20px !important;
}