* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: #f5f7f9;

    color: #17212b;

    min-height: 100vh;
}


.register-page {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;
}


.register-card {
    width: 100%;

    max-width: 450px;

    background: #ffffff;

    border: 1px solid #e3e8ec;

    border-radius: 18px;

    padding: 30px;

    box-shadow:
        0 10px 30px rgba(23, 33, 43, 0.06);
}


.brand {
    text-align: center;

    margin-bottom: 28px;
}


.brand-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 12px;

    border-radius: 14px;

    background: #17212b;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;
}


.brand h1 {
    font-size: 21px;

    margin-bottom: 6px;
}


.brand p {
    color: #78838d;

    font-size: 12px;
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-bottom: 15px;
}


.form-group label {
    font-size: 11px;

    font-weight: 700;

    color: #4f5b65;
}


.form-group input {
    width: 100%;

    height: 44px;

    border: 1px solid #dce2e6;

    border-radius: 9px;

    padding: 10px 12px;

    font-family: inherit;

    font-size: 12px;

    color: #17212b;

    outline: none;

    transition: 0.2s ease;
}


.form-group input:focus {
    border-color: #17212b;

    box-shadow:
        0 0 0 2px rgba(23, 33, 43, 0.06);
}


.register-button {
    width: 100%;

    height: 45px;

    border: none;

    border-radius: 9px;

    background: #17212b;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    margin-top: 5px;

    transition: 0.2s ease;
}


.register-button:hover {
    opacity: 0.9;

    transform: translateY(-1px);
}


.message {
    min-height: 18px;

    margin: 3px 0 8px;

    font-size: 11px;

    text-align: center;
}


.message.error {
    color: #a13d3d;
}


.message.success {
    color: #1c6b42;
}


.login-link {
    text-align: center;

    margin-top: 22px;

    color: #78838d;

    font-size: 11px;
}


.login-link a {
    color: #17212b;

    font-weight: 700;

    text-decoration: none;
}


.login-link a:hover {
    text-decoration: underline;
}


@media (max-width: 500px) {

    .register-page {
        padding: 15px;
    }

    .register-card {
        padding: 22px 18px;

        border-radius: 15px;
    }

    .brand h1 {
        font-size: 19px;
    }

}

/* =========================
   POLISHED MOTION
========================= */
@keyframes lmFadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.page-container > section, .content-section, .form-card, .history-card, .records-section, .profile-card, .summary-card, .animal-card, .feed-card, .record-card, .alert-card { animation: lmFadeUp .45s ease both; }
button, a, .action-card, .animal-card, .feed-card, .record-card, .summary-card { transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
button:hover, .action-card:hover, .animal-card:hover, .feed-card:hover, .record-card:hover, .summary-card:hover { transform: translateY(-2px); }
.lm-toast { position:fixed; right:20px; bottom:20px; z-index:9999; padding:12px 16px; border-radius:10px; background:#17212b; color:#fff; font-size:12px; opacity:0; transform:translateY(12px); transition:.3s ease; box-shadow:0 10px 30px rgba(0,0,0,.16); }
.lm-toast.show { opacity:1; transform:translateY(0); }
.lm-toast.success { background:#1f6b45; } .lm-toast.warning { background:#8a6118; }
.profile-header-actions { display:flex; gap:8px; align-items:center; }
.secondary-button { border:1px solid #dce2e6; background:#fff; color:#17212b; padding:11px 15px; border-radius:9px; font:700 11px Arial,sans-serif; cursor:pointer; text-decoration:none; }
@media(max-width:600px){.profile-header-actions{width:100%;}.profile-header-actions button{flex:1}.lm-toast{left:15px;right:15px;bottom:15px;text-align:center;}}
