body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f9fafb;
    color: #333;
    margin: 0;
    direction: rtl;
}

::selection {
    background-color: #217a7050;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    margin: 1rem;
    transition: transform 0.15s ease;
}

.login-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.login-title {
    color: #217a70;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0 0 1.5rem;
    text-align: center;
    position: relative;
}

.login-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #217a70;
    margin: 0.5rem auto;
    border-radius: 2px;
}

.custom-input {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    transition: all 0.15s ease;
    background-color: #fff;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
}

.custom-input:focus {
    border-color: #217a70;
    box-shadow: 0 0 8px rgba(33, 122, 112, 0.2);
    outline: none;
}

.form-label {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

.btn-custom-primary {
    background-color: transparent;
    border: 2px solid #217a70;
    color: #217a70;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-custom-primary:hover {
    background-color: #217a70;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 122, 112, 0.2);
}

.btn-custom-primary:active {
    transform: translateY(0);
}

.form-check-input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #217a70;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.15s ease;
    margin-left: 0.5rem;
}

.form-check-input[type="checkbox"]:checked {
    background-color: #217a70;
    border-color: #217a70;
    outline: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input[type="checkbox"]:focus {
    outline: none;
}

.form-check-input[type="checkbox"]:hover:not(:disabled) {
    box-shadow: 0 0 6px rgba(33, 122, 112, 0.2);
}

.checkbox-label {
    cursor: pointer;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.checkbox-label:hover {
    color: #217a70;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.password-container {
    position: relative;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.15s ease;
}

.password-toggle:hover {
    color: #217a70;
}

/* header start */
header {
    background-color: #fff;
    padding: 15px 20px;
    border-bottom: 2px solid #dee2e6;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease;
}

.logo {
    max-width: 160px;
    height: auto;
    transition: transform 0.15s ease;
}

.logo:hover {
    transform: scale(1.05);
}
/* header end */