﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f8f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background-color: #1ab192;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 90px;
    transition: all 0.3s ease;
}

.navbar-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.uttn-text {
    font-size: 0.95em;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: none;
    margin-left: 10px;
}

.navbar-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    background: white;
    padding: 8px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: inline-block;
}

    .logo-container:hover {
        transform: scale(1.05);
    }

.uttn-logo {
    height: 55px;
    width: auto;
    display: block;
}

.navbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

/* Estilos de los Botones (Iconos) */
.icon-link {
    color: white;
    text-decoration: none;
    font-size: 1.3em;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .icon-link:hover {
        background-color: rgba(255,255,255,0.3);
        transform: translateY(-2px);
    }

/* Contenido */
.main-content {
    flex: 1;
    padding: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

/* Footer */
.main-footer {
    background-color: #ffffff;
    color: #666;
    padding: 30px 20px;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

    .footer-container p {
        margin: 5px 0;
        font-size: 0.9em;
    }

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.auth-message {
    text-align: center;
    padding: 60px 20px;
    margin: 0 auto;
    max-width: 600px;
}

.btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1ab192;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 10px;
}

    .btn-auth:hover {
        background-color: #169c81;
        transform: translateY(-2px);
    }

.error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px auto;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

    .loading-message i {
        font-size: 3em;
        margin-bottom: 15px;
        color: #1ab192;
        animation: spin 1s linear infinite;
    }

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 5px 15px;
        height: 65px;
        position: relative;
    }

    .uttn-text {
        display: none;
    }

    .uttn-logo {
        height: 32px;
    }

    .logo-container {
        padding: 5px 10px;
        border-radius: 10px;
        background: rgba(255,255,255,0.95);
    }

    .icon-link {
        width: 38px;
        height: 38px;
        font-size: 1.1em;
    }

    .navbar-left, .navbar-right {
        gap: 10px;
    }

    .main-content {
        padding: 15px;
    }

    .main-footer {
        padding: 20px 15px;
    }
}

@media (max-width: 400px) {
    .navbar-left, .navbar-right {
        gap: 6px;
    }

    .icon-link {
        width: 34px;
        height: 34px;
        font-size: 1em;
        border-radius: 8px;
    }
}