.praxis-finder-container {
    max-width: 500px;
    margin: 20px auto;
}

#praxis-finder-form {
    display: flex;
    position: relative;
    margin-bottom: 20px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#plz {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    background-color: #fff;
    width: 100%;
}

#plz:focus {
    outline: var(--primary);
    border: 4px solid var(--primary-ultra-dark);
}

#praxis-finder-form button {
    background: #444;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    color: #767676;
    background-color:  #fff;
  }

input#plz::placeholder {
    color: var(--base-trans-50);
}

#praxis-finder-form button:hover {
    background-color: #333;
}

/* Add a search icon to the button */
#praxis-finder-form button::before {
    content: "⌕";
    font-size: 50px;
    display: inline-block;
    transform: scaleX(-1); /*Spiegeln des Symbols*/
    position: relative;
    top: 0px; /* Anpassung der vertikalen Position */
}

/* Hide the button text */
#praxis-finder-form button span {
    display: none;
}

#praxis-result {
    margin-top: 20px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.loading::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 3px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error {
    background-color: white;
    color: var(--danger);
    border: 2px solid #ff7f00;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.praxis-info {
    background-color: var(--accent-dark-trans-60);
    color: white;
    padding: 25px 30px;
    border-radius: var(--radius-i);
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.praxis-info h3 {
    margin-top: 0;
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.praxis-info p {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.6;
}

.praxis-info strong {
    font-weight: 600;
    color: white;
    opacity: 0.9;
}

.praxis-info a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s;
}

.praxis-info a:hover {
    opacity: 1;
    color: #fcf7f4;
}
