/* Autors: Laura Kokina; Pieteikšanās lapas noformējuma CSS datne; 
Veidots: 2024. gadā, Jaunākā versija */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}

h2 {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

/* Container and Card */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  background-color: white;
  width: 400px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
}

form input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

form input:focus {
  border-color: #4a90e2;
  outline: none;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}

button {
  background-color: #4a90e2;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #357abd;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Register Message */
#register-message {
  color: #4a90e2;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

/* Password Container */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input[type="password"] {
   /* width: 10%;*/
    padding-right: 50px; /* Space for the checkbox */
    box-sizing: border-box; /* Ensures padding does not break the width */
}

.password-container input[type="checkbox"] {
    width: 10%;
    position: absolute;
    right: 10px; /* Align the checkbox to the right */
    cursor: pointer;
    margin: 0; /* Ensure no unexpected spacing */
}
