* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #003366, #004d99);
}

.main {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 20px;
}

.signup {
    position: relative;
    width: 100%;
    padding: 20px;
    background: #002147;
}

.login {
    padding: 20px;
    background: #fff;
    text-align: center;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    height: 45px;
    margin: 10px 0;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #003366;
    box-shadow: 0 0 5px rgba(0, 51, 102, 0.3);
}

.but {
    width: 100%;
    height: 45px;
    margin: 10px 0;
    background: #C5A572;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.but:hover {
    background: #B08D57;
}

.but:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

a, a:link, a:visited {
    display: inline-block;
    background-color: #C5A572;
    color: white;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    border-radius: 5px;
    margin: 10px 0;
    transition: background 0.3s ease;
}

a:hover {
    background-color: #B08D57;
}

.company-logo {
    max-width: 220px;
    height: auto;
    margin: 20px 0;
}

.company-name {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.error-message {
    color: #D32F2F;
    font-size: 14px;
    margin: 5px 0;
}

.copyright {
    color: #444444;
    font-size: 14px;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
    .main {
        margin: 10px;
    }
    
    .company-name {
        font-size: 20px;
    }
    
    .company-logo {
        max-width: 180px;
    }
    
    input[type="text"],
    input[type="password"],
    .but {
        height: 40px;
        font-size: 14px;
    }
}

/* RTL Support for Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] input {
    text-align: right;
}

/* Additional classes for specific inputs */
.login-input4, .login-input5, .login-input6, .login-input7 {
    width: 100%;
    text-align: center;
    direction: ltr;
} 
