/* ========================================
   BOOKING & PRICING PAGES - Shared Styles
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

.boka-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 2rem 1rem;
}

.boka-hemstad {
    background-image: url('../assets/images/hemstad-image.png');
}

.boka-storstad {
    background-image: url('../assets/images/storstad-image.png');
}

.boka-flyttstad {
    background-image: url('../assets/images/flyttstad-image.png');
}

.boka-kontorstad {
    background-image: url('../assets/images/kontorstad-image.png');
}

.boka-offert {
    background-image: url('../assets/images/hemstad-image.png');
}

.boka-back-arrow {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.boka-back-arrow:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.boka-form-container {
    background-color: white;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.boka-form-container h1 {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 2.25rem;
    color: #1A6C36;
    text-align: center;
    margin: 0 0 2rem 0;
}

.boka-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 1.0625rem;
    color: #322F2F;
}

.form-group input,
.form-group textarea {
    font-family: 'Inter';
    font-size: 1.125rem;
    padding: 0.875rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #5A8B6D;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.boka-info {
    font-family: 'Inter';
    font-size: 1rem;
    font-style: italic;
    color: #666;
    text-align: center;
    margin: 0.75rem 0;
}

.boka-submit {
    background-color: #5A8B6D;
    color: white;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 1.375rem;
    padding: 1.125rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 0.75rem;
}

.boka-submit:hover {
    background-color: #4a7a5d;
}

/* ========================================
   CHECKBOX STYLES
   ======================================== */

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background-color: rgba(90, 139, 109, 0.08);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #ccc;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #5A8B6D;
    border-color: #5A8B6D;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkbox-label {
    font-family: 'Inter';
    font-size: 1.0625rem;
    color: #322F2F;
}

/* ========================================
   FORM SUCCESS MESSAGE
   ======================================== */

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background-color: #5A8B6D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.success-title {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 1.5rem;
    color: #1A6C36;
    margin: 0;
}

.success-message {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 1.125rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* ========================================
   FORM ERROR MESSAGE
   ======================================== */

.form-error {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
}

.error-icon {
    width: 4rem;
    height: 4rem;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.error-title {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 1.5rem;
    color: #dc3545;
    margin: 0;
}

.error-message {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 1.125rem;
    color: #666;
    margin: 0;
}

.retry-btn {
    background-color: #5A8B6D;
    color: white;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 0.75rem;
}

.retry-btn:hover {
    background-color: #4a7a5d;
}

/* ========================================
   OFFERT PAGE SPECIFIC STYLES
   ======================================== */

.offert-form-container {
    max-width: 520px;
}

.offert-submit {
    margin-top: 1rem;
}

/* ========================================
   PRICING PAGE SPECIFIC STYLES
   ======================================== */

.pris-calculate-btn {
    background-color: #5A8B6D;
    color: white;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 1.375rem;
    padding: 1.125rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 0.75rem;
}

.pris-calculate-btn:hover {
    background-color: #4a7a5d;
}

.pris-result {
    background-color: #f5f9f6;
    border: 2px solid #5A8B6D;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 0.5rem;
    text-align: center;
}

.pris-result-label {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 1rem;
    color: #666;
    margin: 0 0 0.5rem 0;
}

.pris-result-value {
    font-family: 'Inter';
    font-weight: 700;
    font-size: 1.75rem;
    color: #1A6C36;
    margin: 0;
}

.pris-result-breakdown {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 1rem;
    color: #666;
    margin: 0.25rem 0 0 0;
}

.pris-result-note {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 0.875rem;
    color: #5A8B6D;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

.pris-boka-link {
    display: block;
    background-color: white;
    color: #5A8B6D;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 1.375rem;
    padding: 1.125rem 1.5rem;
    border: 2px solid #5A8B6D;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
    text-decoration: none;
    text-align: center;
}

.pris-boka-link:hover {
    background-color: #5A8B6D;
    color: white;
}

/* ========================================
   MOBILE STYLES
   ======================================== */

@media (max-width: 768px) {
    .boka-back-arrow {
        top: 1rem;
        left: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .boka-back-arrow svg {
        width: 24px;
        height: 24px;
    }

    .boka-form-container {
        padding: 1.25rem 1rem;
        margin: 0.75rem;
        max-width: 320px;
    }

    .boka-form-container h1 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .boka-form {
        gap: 0.5rem;
    }

    .form-group {
        gap: 0.125rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    .form-group textarea {
        min-height: 50px;
        rows: 2;
    }

    .boka-info {
        font-size: 0.75rem;
        margin: 0.25rem 0;
    }

    .boka-submit,
    .pris-calculate-btn {
        font-size: 0.875rem;
        padding: 0.625rem;
        margin-top: 0.25rem;
    }

    .pris-result {
        padding: 0.5rem;
        margin-top: 0.25rem;
    }

    .pris-result-label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .pris-result-value {
        font-size: 1.125rem;
    }

    .pris-result-breakdown {
        font-size: 0.75rem;
    }

    .pris-result-note {
        font-size: 0.6875rem;
    }

    .pris-boka-link {
        font-size: 0.875rem;
        padding: 0.625rem;
        margin-top: 0.25rem;
    }

    /* Checkbox mobile styles */
    .checkbox-group {
        gap: 0.25rem;
    }

    .checkbox-item {
        padding: 0.375rem 0.5rem;
        gap: 0.5rem;
    }

    .checkbox-custom {
        width: 1rem;
        height: 1rem;
    }

    .checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
        font-size: 0.625rem;
    }

    .checkbox-label {
        font-size: 0.8125rem;
    }

    /* Success message mobile styles */
    .form-success {
        padding: 1.5rem 1rem;
        gap: 0.5rem;
    }

    .success-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .success-title {
        font-size: 1rem;
    }

    .success-message {
        font-size: 0.8125rem;
    }

    /* Error message mobile styles */
    .form-error {
        padding: 1.5rem 1rem;
        gap: 0.5rem;
    }

    .error-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .error-title {
        font-size: 1rem;
    }

    .error-message {
        font-size: 0.8125rem;
    }

    .retry-btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.5rem;
    }

    .offert-form-container {
        max-width: 320px;
    }
}

