/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Banner Flutuante */
.floating-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 420px;
    max-width: calc(100vw - 40px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    animation: slideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-banner.closing {
    animation: slideOut 0.4s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(500px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(500px) scale(0.8);
        opacity: 0;
    }
}

/* Botão de fechar */
.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    color: #666;
}

.close-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    transform: rotate(90deg);
}

/* Conteúdo do banner */
.banner-content {
    padding: 24px;
    padding-top: 20px;
}

/* Container dos logos */
.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
}

.logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-fatec {
    max-width: 140px;
}

.logo-ams {
    max-width: 100px;
}

/* Texto do banner */
.banner-text {
    text-align: center;
    margin-bottom: 20px;
}

.banner-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.banner-text p {
    font-size: 14px;
    color: #5a6c7d;
    margin-bottom: 4px;
    line-height: 1.4;
}

.banner-text .highlight {
    font-weight: 600;
    color: #e74c3c;
    font-size: 15px;
    margin-top: 8px;
}

/* Botões de ação */
.banner-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: white;
    color: #2c3e50;
    border-color: #2c3e50;
}

.btn-secondary:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

/* Informações adicionais */
.banner-info {
    background: rgba(52, 152, 219, 0.08);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.banner-info p {
    font-size: 13px;
    color: #2c3e50;
    margin-bottom: 6px;
    line-height: 1.5;
}

.banner-info p:last-child {
    margin-bottom: 0;
}

.deadline {
    font-weight: 600;
}

.email {
    font-family: 'Courier New', monospace;
}

/* Responsividade */
@media (max-width: 768px) {
    .floating-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }

    .banner-content {
        padding: 20px 16px;
    }

    .logos-container {
        gap: 15px;
        padding: 12px;
    }

    .logo {
        max-height: 50px;
    }

    .banner-text h2 {
        font-size: 18px;
    }

    .banner-text p {
        font-size: 13px;
    }

    .banner-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logos-container {
        flex-direction: column;
        gap: 10px;
    }

    .banner-text h2 {
        font-size: 16px;
    }

    .btn {
        font-size: 13px;
        padding: 10px 14px;
    }
}
