body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    direction: rtl;
}

.container {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #333;
}

.logo {
    max-width: 120px;
    margin-bottom: 20px;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

h2, h3 { 
    color: #ffffff; 
    margin-bottom: 20px; 
}

input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    background: #2c2c2c;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    box-sizing: border-box;
    font-size: 16px;
}

input:focus { 
    outline: none; 
    border-color: #bb86fc; 
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6200ea, #3700b3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: transform 0.2s;
}

button:hover { 
    transform: translateY(-2px); 
    opacity: 0.9; 
}

.links { 
    margin-top: 20px; 
    font-size: 14px; 
}

.links a { 
    color: #bb86fc; 
    text-decoration: none; 
    margin: 0 5px; 
}

.alert {
    padding: 12px;
    background-color: #cf6679;
    color: #000;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: bold;
}

.success { 
    background-color: #03dac6; 
}