/* Newsletter Viewer Page */

.newsletter-viewer-page {
    width: 100%;
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

/* Header */

.newsletter-viewer-header {
    width: 100%;
    min-height: 75px;
    background: #ffffff;
    border-bottom: 1px solid #ddd;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 40px;

    position: relative;
    z-index: 10;
}

/* Back Button */

.newsletter-back-button {
    display: inline-flex;
    align-items: center;

    padding: 10px 20px;

    background: #ed5b0b;
    color: #ffffff !important;

    border-radius: 25px;

    text-decoration: none !important;

    font-size: 16px;
    font-weight: 500;

    transition: all 0.3s ease;
}

.newsletter-back-button:hover {
    background: #c94d08;
    color: #ffffff !important;
}

/* Title */

.newsletter-viewer-header h1 {
    margin: 0;

    color: #173b63;

    font-size: 24px;
    font-weight: 600;

    text-align: center;

    flex: 1;
}

/* PDF Area */

.newsletter-viewer-content {
    width: 100%;
    flex: 1;

    height: calc(100vh - 75px);

    background: #f5f5f5;

    overflow: hidden;
}

/* PDF */

.newsletter-viewer-content iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: none;
}

/* Tablet */

@media (max-width: 768px) {

    .newsletter-viewer-header {
        min-height: 65px;

        padding: 10px 15px;

        gap: 10px;
    }

    .newsletter-back-button {
        padding: 8px 14px;

        font-size: 14px;

        white-space: nowrap;
    }

    .newsletter-viewer-header h1 {
        font-size: 18px;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .newsletter-viewer-content {
        height: calc(100vh - 65px);
    }
}

/* Mobile */

@media (max-width: 480px) {

    .newsletter-viewer-header {
        padding: 8px 10px;
    }

    .newsletter-back-button {
        padding: 7px 10px;

        font-size: 13px;
    }

    .newsletter-viewer-header h1 {
        font-size: 16px;
    }
}