/* Pamatstili ķermenim un izvietojumam */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

/* Fona video stils */
video#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Konteinera un lapas stils */
.container, .homepage {
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
}

h1 {
    font-size: clamp(1rem, 5vmin, 3rem);
    font-family: sans-serif;
    color: hsl(0, 0%, 100%);
    text-align: center;
    margin-bottom: 40px;
  }
  .underlined {
  /*   background: red; */
    position: relative;
  }
  
  .underline-a:after {
    content: '';
    position: absolute;
    top: 120%;
    width: 180%;
    aspect-ratio: 3 / 1;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 50%;
    border: 6px solid hsl(202, 82%, 56%);
    clip-path: polygon(0 0, 50% 50%, 100% 0);
  }

/* Teksta un ievades lauku stils */
label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

input::placeholder {
    color: #FFFFFF;
}

/* Pogas stils */
button {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
    color: #FFFFFF;
    background-color: #007bff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Papildteksta un saišu stils */
.text {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.text a {
    color: #FFFFFF;
    text-decoration: underline;
}

.text a:hover {
    color: #ccc;
}
#password-requirements {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.requirement {
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid;
    white-space: nowrap;
}

.requirement.invalid {
    color: #ff4d4d;
    border-color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
}

.requirement.valid {
    color: #00ff7f;
    border-color: #00ff7f;
    background-color: rgba(0, 255, 127, 0.1);
}
