body { font-family: Arial, sans-serif; background-color: #fdfdfd; } .login-container { max-width: 320px; width: 100%; margin: auto; padding: 20px; text-align: center; user-select: none; pointer-events: auto; -webkit-user-drag: none; } .login-container img { user-select: none; pointer-events: auto; -webkit-user-drag: none; width: 20%; } .input-field { position: relative; margin-bottom: 5%; height: 40px; padding: 2px; border: 1px solid #ccc; border-radius: 5px; transition: border-color 0.2s ease; } .input-field input { width: 100%; height: 100%; border: none; outline: none; padding-left: 5px; padding-right: 5px; background-color: transparent; font-size: medium; transition: top 0.2s ease, left 0.3s ease, font-size 0.3s ease, color 0.3s; } .input-field label { position: absolute; top: 50%; left: 10px; color: #999; transform: translateY(-50%); transition: top 0.2s ease, left 0.3s ease, font-size 0.3s ease, color 0.3s; pointer-events: none; } .input-field input:focus + label { top: -1%; font-size: 12px; color: #007bff; background-color: #fdfdfd; border: white 2px solid; } .input-field input:not(:placeholder-shown) + label { top: -1%; font-size: 12px; background-color: #fdfdfd; border: white 2px solid; } .input-field:focus-within { border: 1px solid #007bff; } .input-field.with-button { display: flex; border-radius: 5px; justify-content: space-between; align-items: center; } .input-field.with-button select{ width: 100%; flex-grow: 1; margin-left: 5px; } .input-field.with-button input { flex-grow: 1; width: 100%; } .edit-button { margin-right: 2%; color: #007bff; background-color: #fdfdfd; border: 0; border-radius: 5px; padding: 5px 10px; text-decoration: none; transition: background-color 0.2s ease; } .edit-button:hover { background-color: #e5e5e5; } button { width: 100%; height: 43px; padding: 10px; font-size: medium; background-color: #007bff; color: white; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #0056b3; } .error { text-align: left; color: red; font-size: 14px; margin-top: -5%; margin-bottom: 5%; user-select: none; pointer-events: auto; -webkit-user-drag: none; } .custom-line { position: relative; text-align: center; margin-top: 10%; margin-bottom: 10%; user-select: none; pointer-events: auto; -webkit-user-drag: none; } .custom-line-text { font-size: 70%; padding: 0 10px; position: absolute; background-color: #fdfdfd; top: 50%; left: 50%; transform: translate(-50%, -50%); } .custom-line-bar { border-top: 1px solid #c2c8d0; margin: 10px 0; } .options { display: flex; align-items: center; text-align: left; width: auto; padding: 5%; border: 1px solid #ccc; border-radius: 5px; cursor: pointer; margin-bottom: 3%; user-select: none; pointer-events: auto; -webkit-user-drag: none; } .options:hover { background-color: #e5e5e5; } .options img { height: 30px; margin-right: 10px; } .options p { display: flex; align-items: center; width: 100%; margin: 0; font-size: medium; } .options a { display: flex; align-items: center; width: 100%; margin: 0; font-size: medium; text-decoration: none; color: black; } .role_choose label { display:table-cell; vertical-align: middle; border: 1px solid rgba(35, 34, 34, 0.6); width: 300px; height: 32px; line-height: 30px; text-align: center; font-family: Arial, Helvetica, sans-serif; box-shadow: 0px 0px 0px rgba(69, 67, 67, 0.6); transition: 0.3s; cursor: hand; } .role_choose label:hover { box-shadow: 0px 0px 10px #424242; } @media screen and (max-width: 600px) { .login-container { padding: 10px; margin-top: 20px; overflow-y: hidden; } .login-container img { width: 25%; } }