
    .summary-section {
        margin-bottom: 30px;
    }

    .summary-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 5px;
        cursor: pointer;
        position: relative;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 300px;
    }

    .summary-btn:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

    .summary-icon {
        stroke: currentColor;
    }

    .loading-spinner {
        display: none;
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top: 3px solid #ffffff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .summary-container {
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
        overflow: hidden;
    }

    .summary-header {
        color: white;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        line-height: 1;
    }

    .summary-header .summary-icon {
        flex-shrink: 0;
        position: relative;
        top: -1px;
    }

    .summary-content {
        padding: 20px;
        line-height: 1.6;
        white-space: pre-wrap;
    }

    .typewriter {
        overflow: hidden;
        border-right: .15em solid;
        white-space: pre-wrap;
        margin: 0 auto;
        animation: typing 3.5s steps(40, end),
                   blink-caret .75s step-end infinite;
    }

    @media (max-width: 767px) {
        .summary-btn {
            max-width: 414px;
            width: 100%;
        }
    }

    @keyframes typing {
        from { width: 0 }
        to { width: 100% }
    }

    @keyframes blink-caret {
        from, to { border-color: transparent }
        50% { border-color: currentColor; }
    }