* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: linear-gradient(135deg, #00787E, #00A1A7);
    color: #222;
    overflow: hidden;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.form-container {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    text-align: center;
    animation: appear 0.45s ease;
}

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

.form-title {
    margin: 0 0 18px 0;
    color: #00787E;
    font-size: 22px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group label {
    display: block;
    width: 100%;
    max-width: 340px;
    text-align: center;
    margin-bottom: 8px;
    color: #004A4D;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    max-width: 340px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    outline: none;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
    text-align: left;
    background: #fff;
    box-shadow: 0 2px 6px rgba(16,24,40,0.04) inset;
}

.form-group input:focus {
    border-color: #00787E;
    box-shadow: 0 4px 18px rgba(0, 120, 126, 0.25);
}

.btn {
    width: 100%;
    max-width: 340px;
    padding: 13px 16px;
    margin-top: 6px;
    border: none;
    border-radius: 12px;
    background: #00787E;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 120, 126, 0.25);
}

.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 12px 26px rgba(0, 120, 126, 0.35);
    background: #006166;
}

.error {
    color: #e53935;
    font-size: 13px;
    margin-top: 8px;
    display: none;
    text-align: center;
}

.help {
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
}

a{
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #006166;
    font-family: 'Arial';
    font-size: 15px;
    cursor: pointer;
}

img{
  transition: all 2.5s ease-in-out;
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px;
}
img:hover{
  background-color: #006166;
  border-radius: 50px;
  transform: rotate(360deg);
}


/* Animation shake */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.shake {
    animation: shake 0.4s;
}

@media (max-width: 420px) {
    .form-container { padding: 28px 18px; }
    .form-group label, .form-group input, .btn { max-width: 100%; }
}

@media (max-width: 800px) or (max-height: 100px) {
    html, body {
        overflow: scroll;
    }
}

@media (max-width: 1000px) {
    html, body {
        overflow: scroll;
    }
}