*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
    text-decoration: none;
}

@font-face {
    font-family: 'Rudaw', sans-serif;
    src: url('../assets/rudawbold.ttf') format('truetype');
}


:root {
    --background-color: #f5f5f5;
    --primary-color: #0175b8;
    --text-color: #333333;
    --warning-color: #ff4500; 
    --remove-color: #dc143c;
    --success-color: #32cd32;
    
    --font : 'Rudaw', sans-serif;
}

body {
    font-family: var(--font);
    background-color: #f5f5f5;
    color: #333;
    height: 100dvh;
    align-content: center;
    justify-items: center;
    padding: 0 10px;
}

.logcon{
    background-color: var(--background-color);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #ddd;
    max-width: clamp(21.25rem, 12.355rem + 41.86vw, 43.75rem);
    width: 100%;
    align-content: center;
    justify-items: center;
}
.logcon h2{
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size:clamp(1.563rem, 1.439rem + 0.58vw, 1.875rem);
    font-weight: bold;
}


.logo{
width: clamp(4.375rem, 3.634rem + 3.49vw, 6.25rem);
height: clamp(4.375rem, 3.634rem + 3.49vw, 6.25rem);
border-radius: 50%;
overflow: hidden;
border: 2px solid var(--primary-color);
margin-bottom: 20px;
img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}
h1{
    color: var(--primary-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: clamp(1.625rem, 1.526rem + 0.47vw, 1.875rem);
margin-bottom: 20px;
}

hr{
    
    background-color: var(--primary-color);
    border: none;
    width: 90%;
    height: 1.5px;
    border-radius: 20px;
    margin-bottom: 10px;
}

#loginForm{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;

}
.input-group{
    display: flex;
    flex-direction: column;
    gap: 4px;
        align-items: end;
}

.input-group label{
    font-size:clamp(0.75rem, 0.701rem + 0.23vw, 0.875rem);
    color: var(--primary-color);
}
.input-group input{
    text-align: right;
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: var(--text-color);
    font-size: clamp(0.813rem, 0.763rem + 0.23vw, 0.938rem);
    width: clamp(15rem, 7.355rem + 41.86vw, 25rem);
     outline: none;

}
.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: clamp(15rem, 7.355rem + 41.86vw, 25rem);
}
.password-container input {
    flex: 1;
    padding-left: 50px;
}
.password-toggle {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 5px;
    align-content: center;
    justify-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.password-toggle:hover {
    background-color: rgba(1, 117, 184, 0.04);
}
input::-webkit-input-placeholder {
    color: #aaa;
    font-size: clamp(0.75rem, 0.701rem + 0.23vw, 0.875rem);
}
input:focus{
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}   
.btn{
    text-align: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 0;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: clamp(15rem, 7.355rem + 41.86vw, 25rem);
    position: relative;
}
.btn:hover{
    background-color: #015f8e;
}

.btn.shmmer{
    overflow: hidden;
}
.btn.shmmer::after{
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 20%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    transform: skewX(-25deg);
    transition: left 0.3s ease;
}
.btn.shmmer:hover::after{
    left: 100%;
}
.error-message{
    color: var(--remove-color);
    font-size: clamp(0.813rem, 0.763rem + 0.23vw, 0.938rem);

}