@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-header p {
    color: #666;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
    outline: none;
}

.input-wrapper input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.input-wrapper input::placeholder {
    color: #999;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.input-wrapper input {
    padding-left: 50px;
    direction:ltr;
    text-align:left;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.input-wrapper input.error {
    border-color: #e74c3c;
}

.input-wrapper input.error:focus {
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

@media (max-width: 480px) {
    .login-container {
        padding: 35px 25px;
    }

    .login-header h1 {
        font-size: 26px;
    }
}


.error-login {
    background-color: #e74c3c;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.success-login {
    background-color: #27ae60;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.download-cadr {
    text-align: center;
    margin-bottom: 10px;
}

.download-id3-link {
    color: #667eea;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
}

.download-id3-link:hover {
    text-decoration: underline;
}

.id3-password-span {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
}

.id3-password-span input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    color: #333;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
}

.license-help{
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.5px;
    word-spacing: 1px;
    text-transform: capitalize;
}
.greeting{
    text-align: justify;
    font-size: 16px;
    font-weight: 600;
    color: #27ae60;
    margin-top: 10px;
    margin-bottom: 10px;
}