/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
    --primary: #007bff;
    --secondary: #6c757d;
    --background: #f4f4f4;
    --card-bg: #ffffff;
    --highlight-bg: #fff9db;
    --text-color: #333333;
    --error: #dc3545;
    --hash: #FF8400;
}

body {
    margin: 0;
    font-family: 'Merriweather', serif;
    /* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; */
    background-color: var(--background);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p {
    text-align: center;
    color: #333;
    margin-top: 1rem;
}

a{
    text-align: center;
}

form,
.message-display,
.message-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    max-width: 600px;
    margin: 1rem auto;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centra tudo horizontalmente */
    gap: 0.5rem;
    padding: 1rem;
    max-width: 600px;
    margin: 1rem auto;
    background: var(--card-bg, white);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

form button {
    align-self: center;
    /* Garante que o botão não estique */
    width: auto;
    /* Ou defina um tamanho fixo se preferir */
    min-width: 120px;
}

.text-address {
    font-family:'Courier New', Courier, monospace;
    font-weight: normal;
}
.pending-payment {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    padding: 0.75rem;
    font-size: 1rem;
    background-color: var(--primary);
        color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}



button:hover {
    background-color: #0056b3;
    /* versão escura */ }

.button-center {
    display: block;
    text-align: center;
    align-items: center;
    height: auto;
    margin: 0.5rem 0;
    border-radius: 6px;
}

.copy-address-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  max-width: 25px;
  max-height: 25px;
}
.copy-address-button:hover {
    background-color: transparent;
    /* versão escura */ }

/* Estilo específico do .message-display */
.message-display {
    background-color: var(--highlight-bg);
        border-left: 4px solid #d75819;
        color: var(--text-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reload-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem; }

/* Cartões de mensagens do histórico (um abaixo do outro) */
.history-grid {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    text-align: center;
}

/* Cada cartão */
.history-card {
    background-color: lightgray;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.history-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0.5rem; }



.message-item {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

.pending-payment {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.blockchain-msg {
    background-color: #f0f8ff;
    border-left: 4px solid #0077cc;
}


.btc-address {
    cursor: pointer;
    font-family: monospace;
    color: #007bff;
    word-break: break-word;
}

.btc-address:hover {
    text-decoration: underline; }

.copy-button {
  display: block;
  margin: 0.75rem auto 0 auto;
  text-align: center;
}

.copy-hash-button {
  display: block;
  margin: 0.75rem auto 0 auto;
  text-align: center;
  background-color: var(--hash);
}

.video-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tutorial-video {
  width: 90%;
  height: auto;
  max-width: 960px; /* opcional, limita largura absoluta */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsivo */
@media (max-width: 600px) {

    form,
    .message-display,
    .message-history {
        margin: 1rem;
        padding: 1rem;
    }

    input,
    textarea,
    button {
        font-size: 1rem;
    } 
}



.text-sm {
    font-size: 0.675rem;
}
    
h1,
.page-title {
    font-family: 'Merriweather', serif;
    font-size: 3.675rem;
}

.text-subtitle-1{
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    font-weight: bold;
}

.text-subtitle-2{
    font-family: 'Merriweather', serif;
    font-size: 0.875rem;
    font-weight: 500;
}


.display-message {
    font-family: 'Merriweather', serif;    
    font-size: 1.275rem; 
    font-weight: bold;
}

.display-message-other {
    font-family: 'Merriweather', serif;
    font-size: 0.950rem;
}

.history-message {
    font-family: 'Merriweather', serif;
    font-size: 1.0rem;
}

.hisotry-other {
    font-family: 'Merriweather', serif;
    font-size: 0.750rem;
}

.share-buttons a {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    text-decoration: underline; 
    font-family: Arial, Helvetica, sans-serif;
}
