* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
 background-color: #f0f2f5;
 display: flex;
 justify-content: center;
 align-items: center;
 min-height: 100vh;
 padding: 20px;
}

.login-container {
 background-color: #ffffff;
 border-radius: 8px;
 box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 8px 16px rgba(0,0,0,.1);
 padding: 20px 0 28px;
 width: 100%;
 max-width: 396px;
 text-align: center;
}

.logo-area { padding-bottom: 8px; }

.fb-logo { width: 100px; height: 100px; }

.logo-area h1 {
 color: #1c1e21;
 font-size: 32px;
 font-weight: 700;
 letter-spacing: -.5px;
 margin-top: 8px;
 direction: ltr;
}

.tagline {
 color: #606770;
 font-size: 25px;
 font-weight: 300;
 line-height: 1.3;
 margin: 12px 20px 12px;
}

.login-box {
 display: inline-block;
 background: #f0f2f5;
 border-radius: 10px;
 padding: 4px;
 width: calc(100% - 80px);
 max-width: 340px;
}

.login-box input {
 width: 100%;
 border: none;
 background: transparent;
 padding: 12px;
 font-size: 17px;
 color: #1c1e21;
 outline: none;
 border-radius: 8px;
}

.login-box input:focus { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.login-box input::placeholder { color: #90949c; }

.divider { height: 1px; background: #e4e6eb; margin: 4px 0; }

.forgot {
 display: block;
 margin-top: 14px;
 color: #1877f2;
 font-size: 14px;
 text-decoration: none;
}

.login-btn {
 position: relative;
 display: block;
 width: calc(100% - 80px);
 max-width: 340px;
 margin: 14px auto 0;
 background: #1877f2;
 color: #fff;
 font-size: 20px;
 font-weight: 600;
 padding: 11px 0;
 border: none;
 border-radius: 8px;
 cursor: pointer;
 transition: background-color .15s ease;
}

.login-btn:hover { background: #166fe5; }
.login-btn:disabled { background: #7aa7e6; cursor: default; }

.spinner {
 display: none;
 width: 22px;
 height: 22px;
 border: 3px solid rgba(255,255,255,.4);
 border-top-color: #fff;
 border-radius: 50%;
 animation: spin .8s linear infinite;
 position: absolute;
 left: 50%;
 top: 50%;
 transform: translate(-50%,-50%);
}

@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.signup {
 display: inline-block;
 margin-top: 18px;
 background: #45bd62;
 color: #fff;
 font-size: 14px;
 font-weight: 600;
 padding: 9px 16px;
 border-radius: 6px;
 cursor: pointer;
}

.footer {
 margin-top: 22px;
 font-size: 13px;
}

.footer a { color: #1c1e21; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.dot { margin: 0 8px; color: #90949c; }

.copyright {
 margin-top: 20px;
 color: #90949c;
 font-size: 12px;
}

@media (max-width: 480px) {
 .login-box, .login-btn { width: 100%; margin-left: 20px; margin-right: 20px; max-width: none; }
 .tagline { font-size: 21px; }
}