
#base-content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.error-container {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: var(--system-primary-white);

    .content {
        height: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        max-width: 800px;
        min-height: 0;

        .error-image {
            max-height: 250px;
            width: auto;
            margin-bottom: 1rem;
            
            &.h200 {
                max-height: 200px;
            }
            
        }

        .title {
            color: var(--system-text-black);
            margin-bottom: 1rem;
            text-align: center;
        }

        .description {
            font-size: 14px;
            text-align: center;
            color: var(--system-text-black);
            max-width: 40rem;
            flex: 1;
            min-height: 0;
            max-height: 60vh;
            overflow-y: auto;
            margin: 0 auto 2rem;
        }

        .error-details {
            width: 100%;
            max-width: 600px;
            margin: 2rem 0;
            padding: 1.5rem;
            background-color: var(--system-primary-white);
            border: 1px solid var(--system-primary-border);
            border-radius: 4px;

            .error-info-section {
                margin-bottom: 1.5rem;

                h2 {
                    color: var(--system-text-black);
                    margin-bottom: 0.5rem;
                }

                p {
                    color: var(--system-text-black);
                    margin: 0;
                }

                &.error-contact {
                    border-top: 1px solid var(--system-primary-border);
                    padding-top: 1.5rem;
                }
            }

            .copy-button {
                padding: 0 !important;
                margin-top: 0.5rem;
                color: var(--system-primary-blue);
                text-decoration: none;
                background: none;
                border: none;
                cursor: pointer;
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                white-space: nowrap;

                &:hover {
                    text-decoration: underline;
                }

                &::before {
                    content: '';
                    display: inline-block;
                    width: 16px;
                    height: 16px;
                    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
                    background-size: contain;
                    background-repeat: no-repeat;
                    margin-right: 5px;
                    margin-bottom: -2px;
                }
            }

            .error-technical-section {
                border-top: 1px solid var(--system-primary-border);
                padding-top: 1.5rem;

                .technical-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 0.5rem;
                }

                .technical-details-toggle {
                    width: 100%;
                    text-align: right;
                    padding: 0.5rem 0;
                    border: none;
                    background: none;
                    color: var(--system-primary-blue);
                    cursor: pointer;

                    &:hover {
                        text-decoration: underline;
                    }
                }

                .technical-details {
                    display: none;
                    margin-top: 1rem;
                    padding: 1rem;
                    background-color: var(--system-secondary-white);
                    border-radius: 4px;
                    font-family: monospace;
                    font-size: 1rem;
                    white-space: pre-wrap;
                    overflow-x: auto;
                    overflow-wrap: break-word;
                    max-height: 400px;
                    max-width: 80vw;
                }
            }
        }

        .go-back-botton {
            position: relative;
            top: 10px;
        }
        
        .btn {
            margin-top: 1rem;
        }
    }
}
