:root{--temple-cream:#F8F7F5;--temple-white:#ffffff;--temple-stone:#1C1C1C;--temple-gray:#6B7280;--temple-light-gray:#9CA3AF;--temple-gold:#8C2B2B;--temple-red:#8C2B2B;--temple-wood:#D9A477;--shadow-sm:0 2px 8px rgba(0,0,0,.04);--shadow-md:0 4px 16px rgba(0,0,0,.08);--shadow-lg:0 8px 32px rgba(0,0,0,.12);}

body{font-family:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif!important;background:var(--temple-cream)!important;color:var(--temple-stone)!important;line-height:1.8;position:relative;margin:0;padding:0;}

html,body{height:100%;}

body::before{content:'';position:fixed;top:0;left:0;right:0;bottom:0;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>');pointer-events:none;z-index:-1;}

body::after{content:none!important;display:none!important;}

.main-content{padding-top:80px;padding-bottom:0;min-height:calc(100vh - 80px);display:flex;align-items:center;}

.main-content > #content-container{width:100%;}

footer{display:none;}

.panel{border:1px solid rgba(0,0,0,.06)!important;box-shadow:var(--shadow-md)!important;border-radius:18px!important;background:rgba(255,255,255,.85);backdrop-filter:blur(10px);margin-bottom:0!important;overflow:hidden;}
.panel-heading{background:#ffffff!important;border-bottom:none!important;padding:20px 28px!important;}
.panel-title{font-family:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif!important;font-weight:600!important;color:var(--temple-stone)!important;font-size:18px!important;letter-spacing:.08em!important;display:flex;align-items:center;justify-content:space-between;margin:0!important;gap:12px;}
.panel-title span{min-width:0;}
.panel-title .more{font-size:13px;font-weight:400;color:var(--temple-light-gray);letter-spacing:.05em;white-space:nowrap;}
.panel-title .more a{display:inline-block;color:var(--temple-light-gray);padding:6px 16px;border:1px solid rgba(0,0,0,.1);border-radius:20px;transition:all .3s ease;}
.panel-title .more a:hover{color:var(--temple-white);background:var(--temple-gold);border-color:var(--temple-gold);}
.panel-body{padding:32px!important;background:transparent;border-radius:0!important;}

.panel-title .auth-switch{display:inline-flex;align-items:center;background:rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.08);border-radius:999px;padding:2px;gap:2px;}
.panel-title .auth-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.08em;color:var(--temple-gray);transition:all .2s ease;}
.panel-title .auth-switch a:hover{color:var(--temple-stone);background:rgba(255,255,255,.8);}
.panel-title .auth-switch a.active{background:linear-gradient(135deg,var(--temple-gold) 0%,#6f1f1f 100%);color:var(--temple-white);box-shadow:0 8px 18px rgba(140,43,43,.18);}

.form-control{background:rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.1);color:var(--temple-stone);border-radius:24px;padding:8px 20px;font-size:13px;transition:all .3s ease;font-family:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;height:38px;line-height:1.6;}
.form-control::placeholder{color:var(--temple-light-gray);}
.form-control:focus{outline:none;background:var(--temple-white);border-color:var(--temple-red);box-shadow:0 0 0 3px rgba(140,43,43,.10);}

.checkbox-inline{display:flex;align-items:center;gap:8px;font-weight:500;color:var(--temple-gray);}
.checkbox-inline{padding-left:0!important;}
.checkbox-inline input[type=checkbox]{width:16px;height:16px;position:static!important;margin:0!important;margin-left:0!important;margin-top:0!important;accent-color:var(--temple-red);}

.msg-box{display:block;min-height:18px;margin-top:6px;}
.msg-box .msg-wrap{position:static!important;display:block!important;padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important;}
.msg-box .msg-wrap .n-arrow{display:none!important;}
.msg-box .msg-wrap .n-icon{display:none!important;}
.msg-box .msg-wrap .n-icon+.n-msg{margin-left:0!important;}
.msg-box .msg-wrap .n-msg{display:block;font-size:12px;line-height:1.5;color:var(--temple-red);letter-spacing:0;}

#login-form .form-group,
#register-form .form-group{margin-bottom:14px;}

#login-form .help-block:empty,
#register-form .help-block:empty{display:none;}

#login-form .msg-box:empty,
#register-form .msg-box:empty{min-height:0;}

.input-group-btn{vertical-align:top;}
.btn-info.btn-captcha{background:linear-gradient(135deg,var(--temple-gold) 0%,#6f1f1f 100%);border:none;color:var(--temple-white);border-radius:24px;padding:10px 18px;font-size:13px;letter-spacing:.08em;}
.btn-info.btn-captcha:hover,.btn-info.btn-captcha:focus{background:linear-gradient(135deg,#6f1f1f 0%,var(--temple-gold) 100%);color:var(--temple-white);}

.zen-auth-home-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;color:var(--temple-stone)!important;text-decoration:none!important;}
.zen-auth-home-link i{display:flex!important;align-items:center!important;justify-content:center!important;width:1em!important;height:1em!important;font-size:16px!important;line-height:1!important;transform:translateY(.5px)!important;}
.zen-auth-home-link .fa-home{font-size:16px!important;}
.zen-auth-home-link:hover,.zen-auth-home-link:focus{background:linear-gradient(135deg,var(--temple-gold) 0%,#6f1f1f 100%)!important;border-color:transparent!important;color:var(--temple-white)!important;text-decoration:none!important;}
.zen-auth-home-link:hover i,.zen-auth-home-link:focus i{color:var(--temple-white)!important;}

.has-error .control-label{color:var(--temple-red)!important;}
.has-error .form-control{border-color:var(--temple-red)!important;}
.has-error .form-control:focus{box-shadow:0 0 0 3px rgba(140,43,43,.10)!important;}

.btn{border-radius:24px;letter-spacing:.08em;padding:10px 28px;font-size:14px;border:1px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1);}
.btn-primary{background:linear-gradient(135deg,var(--temple-gold) 0%,#6f1f1f 100%);border:none;color:var(--temple-white);}
.btn-primary:hover,.btn-primary:focus{background:linear-gradient(135deg,#6f1f1f 0%,var(--temple-gold) 100%);transform:translateY(-2px);box-shadow:0 10px 26px rgba(140,43,43,.35);color:var(--temple-white);}
.btn-default{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.1);color:var(--temple-gray);}
.btn-default:hover,.btn-default:focus{color:var(--temple-stone);}
