body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #333;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Topbar */
.topbar {
    background: #0b3a5a;
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo principal */
.logo {
    height: clamp(50px, 4vw, 70px);
    width: auto;
    object-fit: contain;
}

/* Título */
.title {
    font-size: 20px;
    font-weight: bold;
}

/* Card principal */
.card {
    background: #fff;
    margin-top: 30px;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Layout do formulário */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #555;
}

select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fafafa;
    transition: 0.2s;
}

select:focus {
    border-color: #0b3a5a;
    outline: none;
    background: #fff;
}

/* Info da praia */
.beach-info {
    margin-top: 25px;
    padding: 15px;
    border-radius: 10px;
    background: #f0f6fb;
    min-height: 50px;
}

/* Splash screen */
.splash-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0b3a5a;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.splash-content {
    text-align: center;
}

/* Logo no splash */
.splash-logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Loading bar animada */
.loading-bar {
    width: 120px;
    height: 4px;
    background: #ffffff55;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loading-bar::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 100%;
    background: #fff;
    animation: loading 1.2s infinite;
}

@keyframes loading {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* Responsivo extra */
@media (max-width: 600px) {
    .card {
        padding: 15px;
    }

    .title {
        font-size: 16px;
    }
}
