/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    /* Prevent double scrollbars */
    background-color: #f4f7f9;
}

/* Header Styles */
.portal-header {
    background-color: #003257;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 70px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.header-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.portal-logo {
    height: 45px;
    width: auto;
}

.portal-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 15px;
}

.back-home-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
}

.back-home-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

/* Main Content Styles */
.portal-main {
    height: calc(100% - 70px);
    width: 100%;
}

.app-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .portal-title {
        display: none;
    }

    .portal-header {
        height: 60px;
    }

    .portal-main {
        height: calc(100% - 60px);
    }

    .back-home-link span {
        display: none;
    }
}