:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --primary: #00e676; /* Verde Neon Fitness */
    --text: #ffffff;
    --text-sec: #b0b0b0;
    --input-bg: #2c2c2c;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
body { background-color: var(--bg-color); color: var(--text); display: flex; flex-direction: column; min-height: 100vh; }

.container { width: 100%; max-width: 480px; margin: 0 auto; padding: 20px; }
h1, h2 { text-align: center; margin-bottom: 20px; color: var(--primary); }

/* Forms */
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; color: var(--text-sec); font-size: 0.9rem; }
input, select, button { width: 100%; padding: 12px; border-radius: 8px; border: none; font-size: 16px; }
input, select { background-color: var(--input-bg); color: white; border: 1px solid #333; }
input:focus { outline: 2px solid var(--primary); }
button { background-color: var(--primary); color: #000; font-weight: bold; cursor: pointer; transition: 0.3s; margin-top: 10px; }
button:hover { opacity: 0.9; }

.link-text { text-align: center; display: block; margin-top: 15px; color: var(--text-sec); text-decoration: none; font-size: 0.9rem; }
.link-text:hover { color: var(--primary); }

/* Workout Cards */
.workout-card { background-color: var(--card-bg); border-radius: 12px; padding: 15px; margin-bottom: 15px; display: flex; align-items: center; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }
.workout-img { width: 80px; height: 80px; background-color: #333; border-radius: 8px; object-fit: cover; border: 1px solid #444; }
.workout-info { flex: 1; }

/* Badges */
.badge-weight { background: #333; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--primary); color: var(--primary); font-weight: bold; font-size: 0.9rem; display: inline-block;}
.badge-reps { color: #ccc; font-size: 0.9rem; display: inline-block; margin-left: 10px; }

/* Navbar */
.navbar { background: var(--card-bg); padding: 15px; text-align: right; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; }
.navbar a { color: var(--text); text-decoration: none; margin-left: 15px; font-size: 0.9rem; }

/* Date Nav */
.date-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; background: var(--input-bg); padding: 10px; border-radius: 8px; }
.date-input { background: transparent; border: none; color: white; font-size: 1.1rem; text-align: center; width: 140px; cursor: pointer; }
.nav-btn { background: none; border: none; color: var(--primary); font-size: 1.5rem; padding: 0 15px; margin: 0; width: auto; }

/* Modal Zoom */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.95); justify-content: center; align-items: center; flex-direction: column; }
.modal-content { max-width: 95%; max-height: 85%; border-radius: 8px; object-fit: contain; }
.close { position: absolute; top: 20px; right: 30px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; }

/* Mensagens */
.msg { padding: 10px; border-radius: 5px; margin-bottom: 15px; text-align: center; font-weight: bold; }
.error { background: #ff5252; color: white; }
.success { background: #4caf50; color: white; }