/* assets/css/templates/elegant.css */
.byteplugs-modal.elegant .byteplugs-modal-content {
    max-width: 800px;
    width: 90%;
    height: 90vh;
    max-height: 600px;
    padding: 0;
    display: flex;
    overflow: hidden;
    animation: modalSlideIn 0.4s ease-out;
}

.elegant .modal-side {
    width: 40%;
    background: #2271b1;
    color: #fff;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.elegant .modal-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.elegant .side-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.elegant .side-content h2 {
    font-size: 32px;
    margin: 0 0 20px;
    font-weight: 600;
}

.elegant .side-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.elegant .modal-main {
    flex: 1;
    padding: 40px;
    background: #fff;
    overflow-y: auto;
}

.elegant .auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.elegant .auth-tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.elegant .auth-tab-btn.active {
    opacity: 1;
}

.elegant .auth-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2271b1;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.elegant .auth-tab-btn.active::after {
    transform: scaleX(1);
}

.elegant .tab-icon {
    width: 20px;
    height: 20px;
}

.elegant .tab-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.elegant .floating-label {
    position: relative;
    margin-bottom: 24px;
}

.elegant .input-group {
    position: relative;
}

.elegant .input-group input {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 0; /* Remove border radius */
}

.elegant .input-group input:focus {
    outline: none;
    box-shadow: none;
}


.elegant .input-group label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent; /* Remove any background */
    padding: 0; /* Remove padding */
}

.elegant .input-group input:focus ~ label,
.elegant .input-group input:valid ~ label {
    top: -5px;
    font-size: 12px;
    color: #2271b1;
}

.elegant .input-line {
    display: none;
}

.elegant .input-group input:focus ~ .input-line {
    transform: scaleX(1);
}

.elegant .options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.elegant .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.elegant .checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.elegant .checkbox-wrapper input:checked ~ .checkbox-custom {
    background: #2271b1;
    border-color: #2271b1;
}

.elegant .checkbox-wrapper input:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.elegant .checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.elegant .label-text {
    font-size: 14px;
    color: #333;
}

.elegant .forgot-password {
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.elegant .forgot-password:hover {
    color: #135e96;
    text-decoration: underline;
}

.elegant .byteplugs-btn {
    border-radius: 4px; /* Reduce border radius */
    box-shadow: none; /* Remove default shadow */
}

.elegant .byteplugs-btn:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle hover shadow */
}

.elegant .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.elegant .byteplugs-btn:hover .btn-icon {
    transform: translateX(4px);
}

.elegant .terms {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.elegant .terms a {
    color: #2271b1;
    text-decoration: none;
}

.elegant .terms a:hover {
    color: #135e96;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .elegant .modal-side {
        display: none;
    }
    
    .elegant .byteplugs-modal-content {
        max-width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .elegant .modal-main {
        padding: 20px;
    }
    
    .elegant .side-content h2 {
        font-size: 24px;
    }
    
    .elegant .side-content p {
        font-size: 14px;
    }
}

.elegant .auth-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.elegant .auth-tab-content.active {
    display: block;
}