/******************************************
    File Name: custom.css
    Template Name: YourCoupon
    Created By: PSD Convert HTML Team
    Envato Profile: http://themeforest.net/user/psdconverthtml
    Website: https://psdconverthtml.com
    Version: 1.0
    Support: support@psdconverthtml.com
/******************************************/

/**** Altera as cores da frase da home*****************************/
.section-title h1,
.section-title h2 {
    color: white !important;
}

.section-title h1 {
    font-weight: bold !important;
}

.section-title h2 {
    font-weight: normal !important;
}
/* Adicione isso no CSS existente */
.navbar-brand img {
    width: 110px !important;
    height: 110px !important;
    object-fit: contain !important;
    transform: translateY(-35px) !important;
}

/* Suaviza o scroll quando clicar nas âncoras */
html {
    scroll-behavior: smooth;
}

/* Destaca a seção quando chegar nela via âncora */
.row[id] {
    scroll-margin-top: 20px;
}

/* Opcional: estilo para a letra ativa no menu */
.list-inline li a.active {
    background-color: #007bff;
    color: white;
    border-radius: 3px;
}

/* Estilo normal dos links */
nav a {
    color: #007bff;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

/* Estilo quando a página está ativa */
nav a.active {
    color: #0056b3; /* Azul mais escuro */
    background-color: #e3f2fd;
    border-radius: 4px;
    font-weight: bold;
    border-bottom: 3px solid #0056b3;
}

/* Cor preta e negrito para TODAS as letras do menu */
.page-filter .list-inline a {
    color: #000000 !important;
    font-weight: bold !important;
    text-decoration: none;
}

/* Efeito hover */
.page-filter .list-inline a:hover {
    color: #333333 !important;
    background-color: #f5f5f5;
}

/* Estilo para link ativo/selecionado */
.page-filter .list-inline a.active {
    color: #000000 !important;
    font-weight: 900 !important;
    text-decoration: underline;
}
/* Menu letras categorias/páginas de lojas - Estilo adicional para melhor aparência */
.page-filter .list-inline a {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.page-filter .list-inline a:hover {
    color: #000000 !important;
    background-color: #f0f0f0;
    border-radius: 3px;
}
/* Máxima redução de espaçamento */
.page-filter .list-inline {
    margin-left: -3px;
    margin-right: -3px;
}

.page-filter .list-inline li {
    margin: 0 1px !important;
    padding: 0 !important;
}

.page-filter .list-inline a {
    color: #000000 !important;
    font-weight: bold !important;
    text-decoration: none;
    padding: 2px 4px !important;
    margin: 0 !important;
}

/* Mecanismo de pesquisa da Home */
.search-tag {
    cursor: pointer;
    text-decoration: underline;
}

.search-tag:hover {
    color: #337ab7;
}

#searchResults .well {
    margin-bottom: 10px;
    padding: 15px;
}

.texto-normal {
    text-transform: none!important;
    /* Isso remove qualquer transformação de texto */
}


/* CSS DE TELA DE LOGIN*/

/* Estilos para o modal de login/cadastro */
.login-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.login-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 30px;
    text-align: center;
    color: white;
    position: relative;
}

.login-header img {
    width: 80px;
    margin-bottom: 15px;
}

.login-form {
    padding: 30px;
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
}

.form-control:focus {
    border-color: #ee5a24;
    box-shadow: 0 0 0 3px rgba(238, 90, 36, 0.1);
}

.btn-login {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-cadastrar {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-register {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #333;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    font-weight: bold;
}

.alert {
    border-radius: 8px;
    margin-bottom: 20px;
}

.password-strength {
    margin-top: -15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.strength-weak { color: #e74c3c; }
.strength-medium { color: #f39c12; }
.strength-strong { color: #27ae60; }

/* Ajustes para o modal */
.modal-content {
    border-radius: 15px;
    border: none;
}

.login-header .close {
    color: white;
    opacity: 1;
    text-shadow: none;
    font-size: 24px;
}

.login-header .close:hover {
    opacity: 0.8 !important;
}

/* Estilo para o botão customizado */
.btn-default {
    background: #007bff;
    border: 1px solid #007bff;
    color: #fff !important;
    transition: all 0.3s ease;
}

.btn-default:hover {
    background: #0056b3;
    border-color: #0056b3;
    font-weight: bold;
}

/* Estilo para a imagem de preview */
#avatar-preview {
    transition: all 0.3s ease;
}

#avatar-preview:hover {
    opacity: 0.8;
}

.use-coupon-btn {
    transition: all 0.3s ease;
    text-decoration: none;
}

.use-coupon-btn:hover {
    color: #28a745 !important;
}

.code-link {
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-code {
    font-weight: bold;
    color: #dc3545;
}

.show-code {
    color: #007bff;
}

/* Search Results Styles */
#searchResults {
    margin-top: 20px;
}

.result-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 15px;
    transition: all 0.3s ease;
}

.result-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.result-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.result-title a {
    color: #337ab7;
    text-decoration: none;
}

.result-title a:hover {
    color: #23527c;
    text-decoration: underline;
}

.result-description {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.result-code {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 3px;
    padding: 8px 12px;
    margin: 10px 0;
    font-family: monospace;
}

.result-meta {
    margin-top: 10px;
}

.result-meta .label {
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.label-discount {
    background-color: #d9534f;
}

.label-store {
    background-color: #777;
}

.label-category {
    background-color: #5bc0de;
}

.search-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.search-header h4 {
    color: #555;
    margin: 0;
}

.loading {
    padding: 40px 20px;
    color: #666;
}

.loading i {
    margin-bottom: 10px;
}

/* Typeahead improvements */
.tt-menu {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.tt-suggestion {
    padding: 8px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
}

.tt-suggestion:last-child {
    border-bottom: none;
}

.tt-suggestion:hover,
.tt-suggestion.tt-cursor {
    background-color: #337ab7;
    color: white;
}

