* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container h1 {
    font-size: 1.8rem;
    font-weight: 500;
}

.logo-container p {
    font-size: 0.9rem;
    opacity: 0.8;
}

nav {
    display: flex;
    gap: 1rem;
}

nav button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: #34495e;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

nav button:hover {
    background-color: #3d566e;
}

nav button.active {
    background-color: #1abc9c;
}

.container {
    flex: 1;
    display: flex;
    position: relative;
    overflow: hidden;
}

.web-frame {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.web-frame.active {
    display: block;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
}

/* Modo pantalla completa */
.fullscreen .container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.fullscreen header,
.fullscreen footer {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav {
        width: 100%;
        justify-content: center;
    }
}
.frame-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.frame-container.active {
    display: block;
}

.error-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    color: #495057;
    padding: 2rem;
    text-align: center;
}

.error-message h3 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.external-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.external-link:hover {
    background-color: #1a252f;
}