/* ---------------------- */
/* 🌊 FONTES E BASE */
/* ---------------------- */
body {
    font-family: 'Public Sans', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* ---------------------- */
/* 🌐 CONTAINER PRINCIPAL */
/* ---------------------- */
.container {
    position: relative;
    width: 95%;
    max-width: 900px;
    padding: 20px;
}

/* ---------------------- */
/* 🔷 FORMAS GEOMÉTRICAS */
/* ---------------------- */
.shape {
    position: absolute;
    background-color: #0C0434;
    filter: blur(20px);
    z-index: -1;
    animation: floatAnimation 6s infinite alternate ease-in-out;
}

.shape1 {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    top: -60px;
    left: -60px;
}

.shape2 {
    width: 280px;
    height: 280px;
    border-radius: 30%;
    bottom: -60px;
    right: -60px;
}

@keyframes floatAnimation {
    0% { transform: translateY(0); }
    100% { transform: translateY(15px); }
}

/* ---------------------- */
/* ⚓ LOGIN CARD */
/* ---------------------- */
.conteudo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.esquerda {
    width: 55%;
    padding-right: 20px;
}

h1 {
    font-family: 'Poetsen One', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

h1 span {
    color: #0C0434;
}

p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* ---------------------- */
/* 📋 INPUTS E BOTÃO */
/* ---------------------- */
label {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #444;
}

input {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.2s;
}

input:focus {
    outline: none;
    border-color: #0C0434;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #0C0434;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #10054E;
}

/* ---------------------- */
/* 🖼️ LOGO À DIREITA */
/* ---------------------- */
.direita {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ---------------------- */
/* 📱 RESPONSIVIDADE */
/* ---------------------- */
@media (max-width: 768px) {
    .conteudo {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        text-align: center;
    }

    .esquerda, .direita {
        width: 100%;
        padding: 0;
    }

    .logo {
        width: 60%;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    input, button {
        font-size: 14px;
    }
}

/* ---------------------- */
/* 🛶 ANIMAÇÃO DOS BARCOS */
/* ---------------------- */
.boat {
    position: absolute;
    width: 40px;
    opacity: 0.5;
    animation: boatFloat 12s infinite linear;
    z-index: 0;
}

.boat1 { top: 15%; left: -60px; animation-delay: 0s; }
.boat2 { top: 50%; left: -70px; animation-delay: 2s; }
.boat3 { top: 85%; left: -80px; animation-delay: 4s; }

@keyframes boatFloat {
    0%   { transform: translateX(0) translateY(0); }
    50%  { transform: translateX(100vw) translateY(-10px); }
    100% { transform: translateX(200vw) translateY(0); }
}



/** xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx tela de cadastro de embarcação xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ 

/* CSS (styles.css) */


.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.logo img {
    display: block;
    margin: 0 auto 10px;
    width: 60%;
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: slideUp 0.7s ease-out;
}

.input-group {
    display: flex;
    gap: 10px;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s;
}

input.focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

.file-input {
    text-align: center;
    padding: 10px;
    background: #e9ecef;
    border-radius: 5px;
    cursor: pointer;
}

button.btn {
    width: 100%;
    padding: 10px;
    background: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button.btn:hover {
    background: #003d80;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}



/* Botao copia e cola*/

.botao-copiar {
  padding: 6px 10px;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 0.9em;
}

.botao-copiar:hover {
  background-color: #0056b3;
}


/* modal xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.modal-content {
  background-color: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 750px;
  padding: 25px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  font-family: 'Public Sans', sans-serif;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 24px;
  color: #222;
}

.modal-content .info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.modal-content .info p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.modal-content a {
  margin-top: 20px;
  display: inline-block;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

.modal-content a:hover {
  text-decoration: underline;
}

.close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 26px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
