@font-face {
	font-family: "Segoe UI";
	src: url("https://www.sinor.at/sub/sinorocks/fonts/segoe/05_segoe_ui_regular/segoeui.eot");
	src: local("Segoe UI"),
		url("https://www.sinor.at/sub/sinorocks/fonts/segoe/05_segoe_ui_regular/segoeui.eot?#iefix") format("embedded-opentype"),
		url("https://www.sinor.at/sub/sinorocks/fonts/segoe/05_segoe_ui_regular/segoeui.woff") format("woff"),
		url("https://www.sinor.at/sub/sinorocks/fonts/segoe/05_segoe_ui_regular/segoeui.ttf") format("truetype"),
		url("https://www.sinor.at/sub/sinorocks/fonts/segoe/05_segoe_ui_regular/segoeui.svg#segoeui") format("svg");
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: "Segoe UI Light";
	src: url("https://www.sinor.at/sub/sinorocks/fonts/segoe/01_segoe_ui_light/segoeuil.eot");
	src: local("Segoe UI Light"),
		url("https://www.sinor.at/sub/sinorocks/fonts/segoe/01_segoe_ui_light/segoeuil.eot?#iefix") format("embedded-opentype"),
		url("https://www.sinor.at/sub/sinorocks/fonts/segoe/01_segoe_ui_light/segoeuil.woff") format("woff"),
		url("https://www.sinor.at/sub/sinorocks/fonts/segoe/01_segoe_ui_light/segoeuil.ttf") format("truetype"),
		url("https://www.sinor.at/sub/sinorocks/fonts/segoe/01_segoe_ui_light/segoeuil.svg#segoeuil") format("svg");
	font-weight: 400;
	font-style: normal;
}

body {
    height: 100vh;
    padding: 0;
    border: 0;
    margin: 0;
    background-image: url(../songs/images/vorhang.webp);
    background-color: #36c;
    background-size: cover;
    background-position: center center;
}

.login-card {
    background: white;
    border-radius: 12px;
    width: 450px; /* Ihre Wunschbreite */
    
    /* Flexbox sorgt dafür, dass sich die Höhe dynamisch an den Inhalt anpasst */
    display: flex;
    flex-direction: column;
    
    /* Perfekte Zentrierung ohne veraltete negative Margins */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    overflow: hidden;
    box-shadow: 0px 0px 22px rgba(0, 0, 0, 0.99);
    backdrop-filter: blur(1em) saturate(150%);
    background-color: rgb(255 255 255 / 90%);
}

form {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    justify-content: flex-start;
}

h2 {
    text-align: center;
    font-family: "Segoe UI Light";
    font-size: 24px;
    color: #262626;
    /*height: 50px;*/
    width: 100%;
    /* line-height: 60px; */
    font-weight: 200;
    /*margin-block-start: 1.3em;*/
    margin-top: 25px;   
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 15px;
}

/* Neuer Container für den Abstand unter dem letzten Eingabefeld */
.input-group:last-of-type {
    margin-bottom: 35px; /* Dieser Abstand bestimmt, wie viel Luft vor dem Button ist */
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input {
    width: 60%;
    /* padding: 8px; */
    /* box-sizing: border-box; */
    /* border: 1px solid #ccc; */
    border-radius: 4px;
    font-family: "Segoe UI";
    font-size: 18px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #c2bcb6;
    height: 40px;
    /* width: 180px; */
    padding-left: 10px;
    font-size: 18px;
    position: relative;
    outline: none;
    /* top: 30px; */
}

.input-group input:hover {
   border-color: #f5f7fa;
}

.input-group input:focus {
   border-color: #262626;
}

input:focus::placeholder {
    color: transparent;
}

::placeholder {
  color: #999999;
  opacity: 1;
}

.btn {
    border: none; /* Der störende Rahmen ist komplett weg */
    cursor: pointer;
    background-color: #303439;
    color: #fff;
    /* height: 70px; */
    text-align: center;
    font-family: "Segoe UI";
    font-size: 24px;
    width: 100%;
    /* transition: background-color ease 0.25s; */
    outline: none;
    margin-top: 15px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background-clip: padding-box;
    /* REIN OPTISCH (Optional): Simuliert die alte Kante als sauberen inneren Schatten */
    box-shadow: inset 0 -8px 0 0 #20242a;
    padding: 10px 0 20px 0;
}

.btn:hover {
    background: #20242a;
    /* Verringert den Schatten beim Drüberfahren leicht für einen dynamischen Effekt */
    /* box-shadow: inset 0 -4px 0 0 #15181c; */
}

.error {
    color: #36c;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
    font-family: "Segoe UI";
    /* visibility: hidden; */
    letter-spacing: 1px;
}

/* Greift automatisch bei Bildschirmen, die schmaler als 480 Pixel sind (z.B. Smartphones) */
@media (max-width: 480px) {
    body {
        /* Verhindert unschöne Scrollbalken auf dem Smartphone */
        overflow: hidden; 
    }

    .login-card {
        /* Breite passt sich flexibel dem Display an (minus 40px Rand links und rechts) */
        width: calc(100% - 40px); 
        
        /* Verhindert, dass die Karte auf kleinen Handys riesig wirkt */
        max-width: 360px; 
        
        /* Holt die Karte etwas nach oben, damit die Tastatur sie nicht verdeckt */
        top: 40%; 
    }

    .input-group input {
        /* Macht die Eingabefelder auf dem Touchscreen breiter und leichter tippbar */
        width: 80%; 
        font-size: 16px; /* WICHTIG: Verhindert, dass iOS (iPhone) beim Tippen unaufgefordert reinzoomt */
    }
}
