.login-form { display: flex; flex-direction: column; align-items: center; justify-content: center; } .logo-container { margin-bottom: 2rem; text-align: center; padding: 0 1rem; } .logo { max-width: 100%; height: auto; width: auto; max-height: 120px; } .admin-panel { background-color: white; border-radius: 4px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); width: 100%; max-width: 600px; overflow: hidden; margin: 0 1rem; } .login-header { background-color: #30b0d5; color: white; padding: 1rem; text-align: center; } .login-header h2 { font-size: clamp(1rem, 4vw, 1.2rem); font-weight: normal; margin: 0; line-height: 1.3; } .sodika-container { display: flex; align-items: center; justify-content: center; padding: 0; background-color: white; } .sodika-image { max-width: 100%; height: auto; object-fit: contain; display: block; } .sodika-button { background-color: #30b0d5; color: white; border: none; border-radius: 4px; padding: 1rem; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; text-align: center; text-decoration: none; display: block; margin-top: 1rem; margin-bottom: 1rem; justify-content: center; align-items: center; width: 80%; /* Adjusted width */ max-width: 300px; /* Added max-width */ } @media (max-width: 640px) { .logo-container { margin-bottom: 1.5rem; } .admin-panel { margin: 0 0.5rem; } }