/* Original styling – fixed logo alignment */
body { background-color: #fff; }
.bgimg {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%);
    z-index: -1;
}
textarea:hover, input:hover, textarea:active, input:active,
textarea:focus, input:focus, button:focus, button:active,
button:hover, label:focus, .btn:active, .btn.active {
    outline: 0 !important;
    box-shadow: none !important;
}
.box {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-width: 440px;
    padding: 48px !important;
    margin: 20px auto 28px auto;
    background-color: white;
    overflow-x: hidden;
}
.box2 {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-width: 440px;
    padding: 8px 48px !important;
    margin: 0 auto 28px auto;
    background-color: white;
}
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.75rem;
    line-height: 28px;
    padding: 0 16px;
    text-align: right;
}
#footer a, #footer span { color: #fff; margin-left: 8px; display: inline-block; }
.loader { width: 40px; margin: 0 auto; position: relative; height: 40px; }
.loader .circle {
    position: absolute;
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: rotate(225deg);
    animation: orbit 3s infinite;
}
.loader .circle:after { content: ""; position: absolute; width: 3px; height: 3px; border-radius: 5px; background: #000; }
.loader .circle:nth-child(2) { animation-delay: 240ms; }
.loader .circle:nth-child(3) { animation-delay: 480ms; }
.loader .circle:nth-child(4) { animation-delay: 720ms; }
.loader .circle:nth-child(5) { animation-delay: 960ms; }
@keyframes orbit {
    0% { transform: translate(10px,0); opacity:1; animation-timing-function: ease-out; }
    7% { transform: translate(30px,0); animation-timing-function: linear; }
    30% { transform: translate(60px,0); animation-timing-function: ease-in-out; }
    40% { transform: translate(90px,0); animation-timing-function: ease-out; }
    50% { transform: translate(120px,0); animation-timing-function: ease-out; }
    75% { transform: translate(250px,0); animation-timing-function: ease-out; }
    76% { transform: translate(300px,0); opacity:0; }
    100% { transform: translate(350px,0); opacity:0; }
}
@media (max-width:610px) {
    .box { padding: 24px !important; box-shadow: none; }
    .box2 { margin-left: 30px !important; margin-right: 30px !important; }
    .bgimg { background: white; }
}
.logoimg { vertical-align: middle; margin-right: 5px; }
.logoname { vertical-align: middle; }
.block-message {
    position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.9);
    color:white; display:flex; align-items:center; justify-content:center; z-index:10000;
    font-family:monospace; text-align:center; flex-direction:column;
}
.block-message button { margin-top:20px; background:#333; color:white; border:none; padding:8px 16px; cursor:pointer; }
.log-panel {
    position: fixed; bottom:60px; right:20px; width:340px; max-height:400px;
    background:#1e1e2f; color:#0f0; font-family:monospace; font-size:11px;
    border-radius:8px; padding:10px; overflow-y:auto; z-index:1000;
    box-shadow:0 4px 12px rgba(0,0,0,0.3); border:1px solid #00ffaa; display:none;
}
.log-panel.show { display: block; }
.log-header { font-weight:bold; border-bottom:1px solid #00ffaa; margin-bottom:6px; cursor:pointer; }
.log-entry { border-bottom:1px solid #333; padding:4px 0; word-break:break-all; }
.clear-log { background:#333; border:none; color:#0f0; cursor:pointer; margin-top:8px; width:100%; }