/* KÆRHUS Indsigt Form v2 - Paste into Appearance → Customize → Additional CSS */

.kaerhus-form * {
    box-sizing: border-box;
}

.kaerhus-form {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F1F0E9;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.kaerhus-form .card {
    background: #F1F0E9;
    border-radius: 0;
    box-shadow: none;
    max-width: 700px;
    width: 100%;
    padding: 0;
}

.kaerhus-form .form-header {
    margin-bottom: 40px;
    text-align: center;
    background: transparent;
    padding: 40px 40px 0 40px;
}

.kaerhus-form .form-header h1 {
    margin: 0;
    font-family: "Sofia Sans Condensed", Helvetica, Arial, Verdana, sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kaerhus-form .form-content {
    background: #F1F0E9;
    padding: 40px;
}

.kaerhus-form .inputs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kaerhus-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kaerhus-form .form-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kaerhus-form .form-label.form-required::after {
    content: " *";
    color: #ff6b57;
}

.kaerhus-form .form-input {
    padding: 14px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    width: 100%;
    background-color: #ffffff;
}

.kaerhus-form .form-input:focus {
    outline: none;
    border-color: #ff6b57;
    box-shadow: none;
}

.kaerhus-form .form-input.error {
    border-color: #ff6b57;
    background-color: #fff5f5;
}

.kaerhus-form .form-input::placeholder {
    font-family: Rubik, Helvetica, Arial, Verdana, sans-serif;
    font-size: 15px;
    color: #999999;
}

.kaerhus-form textarea.form-input {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.kaerhus-form input[type="tel"]::-webkit-inner-spin-button,
.kaerhus-form input[type="tel"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kaerhus-form .file-input-wrapper {
    position: relative;
}

.kaerhus-form .file-input-wrapper input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
}

.kaerhus-form .file-input-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #574F44;
    border: 1px solid #574F44;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kaerhus-form .file-input-label:hover {
    background-color: #3d352f;
    border-color: #3d352f;
}

.kaerhus-form .file-name-display {
    display: inline-block;
    margin-left: 12px;
    color: #666666;
    font-size: 14px;
}

.kaerhus-form [class^="error-"] {
    color: #ff6b57;
    font-size: 12px;
    margin-top: 6px;
    display: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.kaerhus-form [class^="error-"].show {
    display: block;
}

.kaerhus-form #submit-btn {
    margin-top: 32px;
    width: 100%;
    padding: 18px 40px;
    background: #E4933C;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kaerhus-form #submit-btn:hover:not(:disabled) {
    background: #cf7f2a;
    transform: none;
}

.kaerhus-form #submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.kaerhus-form .success-screen {
    display: none;
    text-align: center;
    padding: 80px 40px;
    background: #F1F0E9;
    animation: kaerhusFormFadeIn 0.5s ease;
}

@keyframes kaerhusFormFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.kaerhus-form .success-screen.show {
    display: block;
}

.kaerhus-form .success-icon {
    width: 120px;
    height: 120px;
    background: #ff6b57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    animation: kaerhusScaleIn 0.5s ease 0.2s both;
}

@keyframes kaerhusScaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.kaerhus-form .success-icon svg {
    width: 60px;
    height: 60px;
    fill: white;
}

.kaerhus-form .success-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kaerhus-form .success-message {
    font-size: 16px;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

.kaerhus-form .form-container {
    display: block;
}

.kaerhus-form .form-container.hide {
    display: none;
}

@media (max-width: 768px) {
    .kaerhus-form {
        padding: 20px 10px;
    }
    .kaerhus-form .form-header {
        padding: 30px 20px 20px 20px;
    }
    .kaerhus-form .form-content {
        padding: 30px 20px;
    }
    .kaerhus-form .form-header h1 {
        font-size: 28px;
    }
    .kaerhus-form .success-screen {
        padding: 60px 20px;
    }
    .kaerhus-form .success-title {
        font-size: 24px;
    }
}