@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --theme1-bg: #8a4e00;
    --theme1-bg90: #116257;
    --theme2-bg: #116257;
    --theme2-bg70: #0f2462B3;
    --theme2-bg85: #116257d9;
    --primary-color: #fff;
    --secondary-color: #fff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background:linear-gradient(var(--theme1-bg), var(--theme2-bg));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    z-index: 10;
}

.logo-container {
    margin-bottom: 25px;
    text-align: center;
}

#main-logo {
    max-height: 65px !important;
    width: auto;
}

.logo-text {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 42px;
    color: #4dc4f3;
    -webkit-text-stroke: 1.5px #ffcc00;
    text-shadow: 
        1px 1px 0 #125574,
        2px 2px 0 #125574,
        3px 3px 0 #125574,
        4px 4px 0 #125574,
        5px 5px 0 #000,
        0px 0px 10px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    margin: 0;
}

.logo-text span {
    color: #ffd700;
    -webkit-text-stroke: 1px #000;
}

/* Login Box */
.login-box {
    background-color: white;
    width: 90%;
    max-width: 380px;
    border-radius: 6px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Hand bounce animation */
@keyframes handBounce {
    0%   { transform: translateX(0px); }
    25%  { transform: translateX(10px); }
    50%  { transform: translateX(0px); }
    75%  { transform: translateX(-10px); }
    100% { transform: translateX(0px); }
}

.hand-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    animation: handBounce 1.2s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
    margin: 8px auto 4px auto;
    display: block;
}

.hand-icon-footer {
    width: 38px;
    height: 38px;
    object-fit: contain;
    animation: handBounce 1s ease-in-out infinite;
    flex-shrink: 0;
}

.login-title {
    text-align: center;
    color: #8c5a1a;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 500;
}

.point-down {
    color: #8c5a1a;
}

/* Inputs */
.input-group {
    position: relative;
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    padding: 12px 0 8px 0;
    border: none;
    border-bottom: 2px solid #829a96;
    border-radius: 0;
    font-size: 15px; 
    color: #444;
    outline: none;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    background: transparent;
}

.input-group input::placeholder {
    color: #777;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #007bff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.input-group input:focus {
    border-color: #8c5a1a;
}

/* Verify Page Styles */
.verify-title {
    text-align: center;
    color: #222;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.verify-input-group {
    margin-bottom: 0px !important;
}

.verify-input-group input {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 12px !important;
    background: #fff !important;
    text-align: center;
}

.verify-helper {
    font-size: 11px;
    color: #666;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.input-group .icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 3px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-brown {
    background-color: #8f5817;
}

.btn-yellow {
    background: linear-gradient(180deg, #d4a929 0%, #a87e14 100%);
    color: #111;
    font-weight: 600;
    border-radius: 6px;
    font-size: 15px;
    padding: 12px;
}

.btn-green {
    background-color: #8c5a1a;
}

.btn-brown-dark {
    background-color: #a45a16;
    padding: 15px;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.footer-text {
    text-align: left;
    font-size: 10px;
    color: #000;
    margin-top: 5px;
    line-height: 1.5;
    padding-bottom: 0;
    border-bottom: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.footer-text a {
    color: #007bff;
    text-decoration: none;
}

.verify-title {
    text-align: center;
    color: #8c5a1a;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.verify-input-group {
    margin-bottom: 0px !important;
}

.verify-input-group input {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 12px !important;
    background: #fff !important;
    text-align: center;
    font-size: 16px !important; /* iOS zoom fix */
    font-weight: 500;
    color: #333;
}

.verify-helper {
    font-size: 11px;
    color: #666;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
