@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: white;
}

.body-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 95vh;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 555px;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fcb900, #710D14);
}

.main-logo {
    width: 200px;
    height: auto;
    object-fit: cover;
    margin: 10px 0px;
}

.header {
    text-align: center;
    margin-bottom: 32px;
}

.header h2 {
    color: #000;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.header p {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.input-wrapper {
    position: relative;
}

input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    color: #000;
}
input[type="number"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    color: #000;
}

input[type="text"]:focus , input[type="number"]:focus{
    border-color: #fcb900;
    background: white;
    box-shadow: 0 0 0 3px rgba(252, 185, 0, 0.1);
    transform: translateY(-1px);
}

input[type="text"]:valid:not(:placeholder-shown), input[type="number"]:valid:not(:placeholder-shown) {
    border-color: #10b981;
    background: #f0fdf4;
}

.submit-btn {
    background: linear-gradient(135deg, #fcb900 0%, #f59e0b 100%);
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(252, 185, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 185, 0, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.divider {
    margin: 32px 0;
    text-align: center;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}

.divider span {
    background: white;
    padding: 0 16px;
    color: #999;
    font-size: 12px;
    font-weight: 500;
}

.security-note {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #fcb900;
    margin-top: 24px;
}

.security-note p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

footer p {
    font-size: 12px;
    color: #999;
    text-align: center;
}

.error-msg{
    font-size: 12px;
    color: red;
    font-style: italic;
    padding-left: 10px;
}

@media (max-width: 480px) {
    .container {
        padding: 32px 24px;
        margin: 10px;
    }

    .header h2 {
        font-size: 24px;
    }
}