@charset "UTF-8";

/* =======================================
	FORM
	------- */
/* Hauptcontainer */
.huon-form-compact {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 5px;
}

td .huon-form-compact a {
    display: inline-block;
}

td .huon-form-compact select {
    /* optional */
}

/* Label */
.huon-form-compact label {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

/* Eingabefelder */
.huon-form-compact input:not([type="checkbox"]),
.huon-form-compact textarea,
.huon-form-compact select {
    padding: 0px 4px;
    min-height: 24px;
    font-size: 12px;
    line-height: 1.2;
}

/* Feldgruppe */
.huon-form-compact-group {
    display: flex;
    flex-direction: column;
}

/* Submit-Button */
.huon-form-compact button[type="submit"] {
    margin-top: 10px;
}


/* =======================================
	FORM
	------- */

.row {
    flex-direction: row !important;
    margin: 0 !important;
}

/* Form Input Styles */
.huon-form-section {
/*    max-width: 400px;*/

    flex: 1;
/*    border: 1px solid #ddd;*/
    padding: 30px;
	/*background: radial-gradient(circle at top left, rgba(156, 121, 179, 0.2), transparent 50%),
				radial-gradient(circle at top right, rgba(126, 127, 211, 0.2), transparent 50%),
				radial-gradient(circle at bottom left, rgba(179, 52, 77, 0.2), transparent 50%),
				radial-gradient(circle at bottom right, rgba(68, 64, 103, 0.2), transparent 50%);*/
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);

   /* display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 300px;
    width: 100%;*/
    text-align: right;
}

@media (max-width: 768px) {
	.huon-form-section {
		padding: 20px 15px !important;
	}
}

.toggle-auth-form {
	margin-top: 10px !important;
}

.huon-form-section h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 400;

    margin-top: 0;
    margin-left: 0;
    text-align: center;
}

.huon-form-section p {
    margin-top: 15px;
    margin-bottom: 25px;
    color: #666;
    text-align: center;
}

.huon-form
{
    display: flex;
    flex-direction: column;
    gap: 5px;
    /*padding: 20px 10px;
    border-radius: var(--border-radius-md);
    background: radial-gradient(circle at top left, rgba(143, 245, 217, 0.2), transparent 50%),
                radial-gradient(circle at top right, rgba(159, 255, 191, 0.2), transparent 50%),
                radial-gradient(circle at bottom left, rgba(226, 255, 255, 0.2), transparent 50%),
                radial-gradient(circle at bottom right, rgba(143, 245, 217, 0.2), transparent 50%);*/
}

.huon-form-group {
    position: relative; /* Aktiviert das Positionieren innerhalb der Form-Group */
    display: flex;
/*    margin: 0 auto;*/
    margin: 0;
    width: 100%;
    align-items: center;
    gap: 0px;
    justify-content: flex-end;
    flex-direction: row;
}

.huon-form-group-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    justify-content: center;

    width: 100%;
    margin-bottom: 10px;
}
.huon-form-group-col > p {
    max-width: 500px;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
	.huon-form-group {
		flex-direction: column !important;
		gap: 0 !important;
		align-items: start !important;
	}
}

.huon-checkbox-form-group {
    display: flex;
    flex-direction: column;

    margin: 0 auto;
    width: 100%;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.huon-checkbox-form-group .item {
    display: flex;
    flex-direction: row;
    max-width: 400px;

    align-items: center;
    gap: 10px;
    justify-content: center;
}
.huon-checkbox-form-group .item label {
	flex: 0 0 300px;
	text-align: left;
}

@media (max-width: 768px) {
	.huon-form-group {
		flex-direction: column !important;
		gap: 0 !important;
		align-items: start !important;
	}
}

/*.huon-form-group > * {
    margin-left: 8px;
}*/

.payment-details {
/*    width: calc(100% - 32px);*/
    /*display: flex;
    flex-direction: column;*/
	width: 500px;
	width: 468px;
	height: 17px;
	background: rgba(250, 248, 251, 0.99);
    border: 1px solid #D9D9D9;
    color: #4A4A4A;
	border-radius: var(--border-radius-md);
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
}

.huon-form-group .icon {
    position: absolute; /* Absolut positioniert relativ zur Form-Group */
    top: 50%; /* Vertikal zentriert */
    right: 10px; /* Abstand vom rechten Rand */
    transform: translateY(-50%); /* Vertikale Zentrierung */
}

.huon-form-group .info-icon {
    font-size: 16px; /* Icon-Größe anpassen */
    color: #666; /* Optional: Icon-Farbe */
}





.huon-form-group label {
    flex: 0 0 160px;
    margin-right: 0px;
    text-align: right;
    font-size: 15px;
    font-weight: 400;
/*    margin-bottom: 5px;*/
    display: block;

    /*display: flex;
    align-items: center;
    gap: 8px; */
}

@media (max-width: 768px) {
	.huon-form-group label {
		flex: 0 0 0px;
		margin-bottom: 5px;
		text-align: left !important;
	}
}

.huon-form-group input[type="checkbox"] {
    margin: 0; /* Entfernt Standardabstände */
}

/* =======================================
	File Input
	------- */
.file-upload-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px; /* Maximale Breite begrenzen */
    width: 100%; /* Automatische Anpassung */
    backdrop-filter: blur(10px);
    text-align: center;
/*    margin: 0 auto;*/
/*    margin-top: 50px;*/
    box-sizing: border-box; /* Verhindert, dass Padding die Breite überschreitet */
}

/* Formular Container */
.file-upload-form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den Inhalt */
    width: 100%;
    max-width: 100%; /* Stellt sicher, dass nichts über den Rand hinausgeht */
}

/* Datei-Input */
.file-upload-form-container input[type="file"] {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    width: 100%;
    max-width: 100%; /* Verhindert das Herauswachsen */
    text-align: center;
    margin: 10px 0;
    box-sizing: border-box; /* Sorgt dafür, dass Padding mit in die Breite eingerechnet wird */
}

/* Button */
.file-upload-form-container button,
.file-upload-form-container .download-button {
    background: linear-gradient(135deg, #6f78ff, #9a70f0);
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%; /* Verhindert Überlauf */
    text-decoration: none;
    box-sizing: border-box;
}

.file-upload-form-container button:hover,
.file-upload-form-container .download-button:hover {
    background: linear-gradient(135deg, #5a66e5, #8662d8);
}


/* =======================================
	File Input
	------- */
/*.huon-form input,*/
.huon-form input[type="text"],
.huon-form input[type="email"],
.huon-form input[type="password"],
.huon-form input[type="date"],
.huon-form input[type="number"],
.huon-form input[type="submit"],
.huon-form select,
.huon-form textarea
{
    width: 100%;
    max-width: 100%;
/*    width: calc(100% - 30px);*/
/*    max-width: 500px;*/
    padding: 10px 15px;
    margin: 0 auto 0rem auto;
/*    margin: 0;*/
    margin-top: 0;
    margin-bottom: 0;
/*    font-size: 1rem;*/
    font-family: inherit;
/*    color: #4A4A4A;*/
    border: 1px solid #aaa;
    border-radius: var(--border-radius-sm);
/*    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) inset;*/
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
    box-sizing: border-box;
}

.huon-form.compact input[type="text"],
.huon-form.compact input[type="email"],
.huon-form.compact input[type="password"],
.huon-form.compact input[type="date"],
.huon-form.compact input[type="number"],
.huon-form.compact input[type="submit"],
.huon-form.compact select,
.huon-form.compact textarea
{
    padding: 0 !important;
    padding: 4px 6px;
    font-size: 0.9rem;
}


/* Optionales Padding aktivieren */
.huon-form .with-padding {
    padding: 10px 15px;
}

/* Optional kein Padding (kann bei Bedarf Overrides rückgängig machen) */
.huon-form .no-padding {
    padding: 0 !important;
}


.huon-form input[type="date"] {
    -webkit-appearance: none; /* iOS spezifisch */
    appearance: none;
}


/* Remove the dropdown icon from the select. */
.huon-form-group select
{
    appearance: none; /* Entfernt das native Styling des Browsers */
    -webkit-appearance: none; /* Für Safari */
    -moz-appearance: none; /* Für Firefox */
}

/* Entfernt Spinner bei allen Input-Feldern vom Typ 'number' */
.huon-form-group input[type="number"] {
    -moz-appearance: textfield; /* Entfernt Spinner in Firefox */
    -webkit-appearance: none; /* Entfernt Spinner in Chrome, Safari, Edge */
    appearance: none; /* Entfernt Spinner (zukunftssicher) */
}

/* Entfernt zusätzlich die Standard-Pfeile in Chrome */
.huon-form-group input[type="number"]::-webkit-inner-spin-button,
.huon-form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0; /* Verhindert unerwünschte Abstände */
}

/* Gradient Button Styles */
.huon-form button:not(.huon-button),
.huon-form button[type="submit"]:not(.huon-button)
{
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
/*    max-width: 200px;*/

    background: radial-gradient(circle at top left, rgba(143, 245, 217, 0.9), transparent 50%),
                radial-gradient(circle at top right, rgba(159, 255, 191, 0.9), transparent 50%),
                radial-gradient(circle at bottom left, rgba(226, 255, 255, 0.9), transparent 50%),
                radial-gradient(circle at bottom right, rgba(143, 245, 217, 0.9), transparent 50%);

    background-size: 400% 400%; /* To enable animation */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
    text-align: center;
    animation: gradient-shift 3s infinite;
    margin: 0 auto;
    margin-top: 30px;
}

/* Hover Effect */
.huon-form button:hover:not(.huon-button),
.huon-form button[type="submit"]:hover:not(.huon-button)
{
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.huon input::placeholder,
.huon input[type="text"]::placeholder,
.huon input[type="email"]::placeholder
{
	color: rgba(0, 0, 0, 0.4);
}

/* Input Focus Styles */
.huon input:focus,
.huon input[type="text"]:focus,
.huon input[type="email"]:focus
{
    border-color: #8FF5D9;
    box-shadow: 0 0 8px rgba(143, 245, 217, 0.7);
    outline: none;
}

/* Animation for Gradient Movement */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Submit Button Styles (reuse gradient-button class) */
.heal_form_submit {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* =======================================
	Calculation Form
	------------ */
/* --- Licence Manager Add License/Activation --- */
.huon-forms-container {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 20px;
}

@media (max-width: 768px) {
	.huon-forms-container {
        flex-direction: column;
    }
}


/* =======================================
	FORMS grid
	------------ */
.huon-forms-container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;

    /*display: flex;
    gap: 20px;*/
/*    justify-content: flex-start;*/
    margin-top: 20px;
}

.huon-form-section-grid {
    flex: 1;
    padding: 20px;
	background: radial-gradient(circle at top left, rgba(156, 121, 179, 0.2), transparent 50%),
				radial-gradient(circle at top right, rgba(126, 127, 211, 0.2), transparent 50%),
				radial-gradient(circle at bottom left, rgba(179, 52, 77, 0.2), transparent 50%),
				radial-gradient(circle at bottom right, rgba(68, 64, 103, 0.2), transparent 50%);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

/*    max-width: 400px;*/
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
	.huon-form-section-grid {
        flex-direction: column;
    }
}

.huon-form-section-grid h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 400;
/*    font-weight: bold;*/

    margin-top: 0;
    margin-left: 0;
}


.huon-form-group-grid {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;

/*    width: 100%;*/
}

.huon-form-grid label {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
    display: block;
}

.huon-form-grid label {
    font-weight: 400;
    margin-bottom: 5px;
    text-align: left;
    display: block;
}

.huon-form-grid input:not([type="checkbox"]),
.huon-form-grid textarea,
.huon-form-grid select
{
    width: calc(100% - 30px);
    padding: 10px 15px;
/*    font-size: 14px;*/
/*    border: 1px solid #ccc;*/
	border: none;
    border-radius: var(--border-radius-md);
    box-sizing: border-box;

    max-width: initial;
}
.huon-form-grid input[type="checkbox"]
{
}

.huon-form-grid button
{
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    margin: 0 auto;
}

.huon-form-grid button:hover {
    background-color: #005d8f;
}


/* =======================================
	SUBSCRIBE Form
	------------ */
/* --- Licence Manager Add License/Activation --- */
/*


button[type="submit"] {
    margin-top: auto;
}

.huon-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;

    width: 100%;
}

.huon-form-group label {
    font-weight: 400;
    margin-bottom: 5px;
    text-align: left;
    display: block;
}

.huon-form-group input,
.huon-form-group textarea,
.huon-form-group select,
.huon-form-group button {
    width: 100%;
    padding: 10px;
    font-size: 14px;
	border: none;
    border-radius: var(--border-radius-md);
    box-sizing: border-box;
}

.huon-form-group button {
    border: none;
    cursor: pointer;
    max-width: 200px;
    margin: 0 auto;
    margin-top: 20px;
    display: inline-block;
    background: rgba(143, 245, 217, 1.0);
    padding: 10px 15px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.1s;
}

.huon-form-group button:hover {
    background: rgba(159, 255, 191, 0.9);
}*/
