* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #2c6fbb;
    --primary-dark: #1a5ca3;
    --secondary: #f8b400;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --danger: #dc3545;
    --gray: #6c757d;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}
body {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 20%);
    z-index: -1;
}
.login-container {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    animation: fadeIn 0.8s ease-out;
    padding: 40px;
}
.back-btn{
    cursor: pointer;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    box-shadow: 0 5px 15px rgba(44, 111, 187, 0.3);
}
.logo-icon i {
    font-size: 32px;
    color: white;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}
.logo-text span {
    color: var(--secondary);
}
.form-header {
    text-align: center;
    margin-bottom: 35px;
}
.form-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 10px;
}
.form-header p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
}
.form-group {
    margin-bottom: 25px;
    position: relative;
}
.icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 18px;
}
.set{
    left: 33px;
    
}
.form-control {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e1e5eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    background: #f9fbfd;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 111, 187, 0.2);
    background: white;
}
.password-toggle {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.input-container {
    position: relative;
}

.form-control,
.form-select {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background-color: white;
    appearance: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #3498db;
    outline: none;
}

.floating-label {
    position: absolute;
    right: 10px;
    top: 13px;
    background: white;
    padding: 0 8px;
    color: #95a5a6;
    font-size: 16px;
    transition: all 0.3s;
    pointer-events: none;
}

.form-control:focus~.floating-label,
.form-control:not(:placeholder-shown)~.floating-label,
.form-select:focus~.floating-label,
.form-select:valid~.floating-label {
    top: -11px;
    font-size: 13px;
    color: #3498db;
}
.btn {
    width: 100%;
    padding: 15px;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 5px 15px rgba(44, 111, 187, 0.4);
}
.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}
.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}
.btn:hover::after {
    opacity: 1;
}
.btn span {
    position: relative;
    z-index: 2;
}
.btn:disabled {
    background: #a0c5f0;
    cursor: not-allowed;
}
.btn i {
    margin-left: 8px;
}

#forgot-btn{
   background: orange !important;
}

.btn img{
   width: 20px;
}
.swal-popup-rtl {
    direction: rtl;
    text-align: right;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@media (max-width: 576px) {
    .login-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
}