.header-container {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 1000;
}

.right-corner-elements {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-icon-container {
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.phone-icon {
    display: block;
}

.profile-section {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-picture-container {
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #ccc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background-color: #A9A9A9;
    border-radius: 50%;
    position: relative;
}

.profile-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23FFFFFF" d="M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3c0 16.7 13.5 30.2 30.2 30.2h387.6c16.7 0 30.2-13.5 30.2-30.2 0-98.5-79.8-178.3-178.3-178.3h-45.7z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.profile-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    min-width: 150px;
    overflow: hidden;
}

.dropdown-button {
    background: none;
    border: none;
    padding: 10px 15px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s;
}

.dropdown-button:hover {
    background-color: #f0f0f0;
}

.logout-button {
    color: #cc0000;
}

.logout-button:hover {
    background-color: #ffe0e0;
}

.suporte-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 2000;
}

.suporte-card-container {
    position: relative;
    z-index: 2001;
    margin-top: 80px;
    margin-right: 20px;
}

.suporte-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.suporte-titulo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.suporte-subtitulo {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.contato-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.2s;
}

.contato-item:hover {
    background-color: #e9ecef;
}

.contato-item.clickable {
    cursor: pointer;
    background-color: #e3f2fd;
}

.contato-item.clickable:hover {
    background-color: #bbdefb;
}

.contato-info {
    display: flex;
    flex-direction: column;
}

.contato-nome {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contato-descricao {
    color: #666;
    font-size: 0.95rem;
}

.contato-item:last-child {
    margin-bottom: 0;
}

.chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 3000;
}

.chat-container {
    position: relative;
    z-index: 3001;
    margin-top: 80px;
    margin-right: 20px;
}

.chat-online {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 350px;
    height: 500px;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.chat-header {
    background-color: #1e3a8a;
    color: white;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-titulo {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.fechar-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fechar-chat:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.chat-mensagens {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mensagem {
    max-width: 80%;
    padding: 0.75rem;
    border-radius: 12px;
    position: relative;
}

.mensagem.usuario {
    align-self: flex-end;
    background-color: #e3f2fd;
    border-bottom-right-radius: 4px;
}

.mensagem.suporte {
    align-self: flex-start;
    background-color: #f5f5f5;
    border-bottom-left-radius: 4px;
}

.mensagem-texto {
    margin-bottom: 0.25rem;
    word-wrap: break-word;
}

.mensagem-hora {
    font-size: 0.7rem;
    color: #666;
    text-align: right;
}

.mensagem.suporte .mensagem-hora {
    text-align: left;
}

.chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    gap: 0.5rem;
    background-color: white;
    border-radius: 0 0 12px 12px;
}

.chat-campo {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
    background-color: white;
}

.chat-campo:focus {
    border-color: #1e3a8a;
}

.chat-enviar {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.chat-enviar:hover {
    background-color: #1e40af;
}
/* Modal de Logout */
.logout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.logout-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.logout-modal-content h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.25rem;
}

.logout-modal-content p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.4;
}

.logout-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.logout-cancel-button {
    padding: 0.75rem 1.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: transparent;
    color: #333;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.logout-cancel-button:hover {
    background-color: #f0f0f0;
}

.logout-confirm-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background-color: #dc3545;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.logout-confirm-button:hover {
    background-color: #c82333;
}