/* Alap stílusok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Konténer */
.container {
    width: 100%;
    height: 400px;
    display: flex;
	box-shadow: 0 1px 8px 0 rgba(0, 0, 0, .2), 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .12);
}

.left-panel, .right-panel {
    width: 50%;
    height: 100%;
}

.left-panel {
    background-color: rgb(250, 250, 250);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
}

.right-panel {
    background-color: rgb(86, 176, 76);
    display: flex;
    justify-content: left;
    align-items: center;
	padding-left: 50px;
}

.brand-name {
    color: rgb(86, 176, 76);
    font-size: 48px;
    font-weight: bold;
}

/* Formázás */
form {
    width: 80%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.placeholder {
    color: rgb(86, 176, 76);
    font-size: 14px;
    position: absolute;
    top: -20px;
    left: 10px;
    display: none;
}

input:focus ~ .placeholder,
input:not(:placeholder-shown) ~ .placeholder {
    display: block;
}

input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

input::placeholder {
    color: #999;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.language-label {
    color: rgb(86, 176, 76);
    font-size: 14px;
    margin-bottom: 5px;
}

select {
    width: 100%;
    padding: 10px;
    border: none;
	border-bottom: 1px solid darkslategray;
    border-radius: 4px;
	background: #56b04c;
    font-size: 16px;
	color: darkslategray;
}

.toggle-container {
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-right: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #8c8787;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgb(121 205 112);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

label.switch-label {
    color: white;
}

.submit-btn {
    background-color: rgba(0, 0, 0, 0.12);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    align-self: flex-end;
}

.submit-btn:hover {
    background-color: rgb(0,200,83);
}

img {
    width: 320px;
}

.material-icons {
    font-family: "Material Icons";
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
}

material-icons-large {
	font-size: 48px;
}
md-input-container>md-icon {
    position: absolute;
    top: 8px;
    left: 2px;
    right: auto;
}

.input-group {
  display: flex;
  align-items: center; /* függőlegesen középre igazítja az elemeket */
  gap: 0.5em; /* opcionális: kis távolság az ikon és az input között */
}

.input-group md-icon {
  font-size: 24px; /* vagy amekkorát szeretnél */
  user-select: none;
}

.input-group input {
  flex: 1; /* hogy az input kitöltse a maradék helyet */
}

.hide {
    display: none !important;
}

#error {
	font-family: "Fira sans", "Helvetica Neue", sans-serif;
    position: fixed;
    left: 0;
    width: 100%;
    height: 400px;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, .2), 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .12);
    background-color: #d32f2f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    z-index: 9999;
    gap: 1em;
    text-align: center;
    flex-wrap: wrap;
    flex: 1 1 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
}

#error md-icon,
#error div,
#error button {
  color: white;
}

button.md-button {
    background: none;
    border: none;
    text-transform: uppercase;
}

button.md-button:hover {
	text-decoration: underline;
}