
/* Amadeya authentication pages — visual language matched to GitHub version */
.amadeya-auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
    color: #eee8dc;
    background:
        radial-gradient(circle at 50% 40%, rgba(142,105,39,.13), transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(80,50,20,.10), transparent 30%),
        #08070b;
    font-family: Georgia, "Times New Roman", serif;
}
.amadeya-auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 49.8%, rgba(201,164,92,.035) 50%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgba(201,164,92,.025) 50%, transparent 50.2%);
    background-size: 120px 120px;
}
.amadeya-auth-portal {
    position: relative;
    width: min(440px, calc(100vw - 32px));
    padding: 46px 42px 40px;
    background: linear-gradient(145deg, rgba(27,25,33,.96), rgba(10,9,14,.97));
    border: 1px solid rgba(201,164,92,.42);
    box-shadow: 0 0 0 1px rgba(201,164,92,.05), 0 25px 80px rgba(0,0,0,.65), 0 0 70px rgba(201,164,92,.08);
    border-radius: 18px;
    animation: amadeyaPortalAppear .9s ease both;
}
.amadeya-auth-portal::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201,164,92,.12);
    border-radius: 12px;
    pointer-events: none;
}
@keyframes amadeyaPortalAppear {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.amadeya-auth-symbol { position:absolute; color:#c9a45c; opacity:.55; font-size:22px; text-shadow:0 0 12px rgba(201,164,92,.5); }
.amadeya-auth-symbol.one{top:18px;left:22px}.amadeya-auth-symbol.two{top:18px;right:22px}.amadeya-auth-symbol.three{bottom:18px;left:22px}.amadeya-auth-symbol.four{bottom:18px;right:22px}
.amadeya-auth-brand{text-align:center;margin-bottom:30px}
.amadeya-auth-brand-name{font-size:30px;letter-spacing:5px;color:#e5c77d;text-shadow:0 0 20px rgba(201,164,92,.25)}
.amadeya-auth-brand-subtitle{margin-top:7px;font-size:11px;letter-spacing:3px;text-transform:uppercase;color:#aaa39a}
.amadeya-auth-divider{width:100px;height:1px;margin:19px auto 25px;background:linear-gradient(90deg,transparent,#c9a45c,transparent);box-shadow:0 0 10px rgba(201,164,92,.4)}
.amadeya-auth-title{margin:0;text-align:center;font-size:25px;font-weight:normal;color:#f1e9da}
.amadeya-auth-description{margin:10px 0 28px;text-align:center;font-size:14px;line-height:1.6;color:#aaa39a}
.amadeya-auth-field{margin-bottom:18px}
.amadeya-auth-field label{display:block;margin-bottom:8px;font-size:13px;letter-spacing:.5px;color:#cfc6b8}
.amadeya-auth-field input{width:100%;padding:14px 16px;border:1px solid rgba(201,164,92,.25);border-radius:9px;outline:none;background:rgba(5,5,9,.75);color:#fff;font-size:15px;transition:border-color .25s,box-shadow .25s,background .25s}
.amadeya-auth-field input:focus{border-color:rgba(201,164,92,.8);background:rgba(10,9,14,.95);box-shadow:0 0 0 3px rgba(201,164,92,.07),0 0 22px rgba(201,164,92,.10)}
.amadeya-auth-button{width:100%;padding:14px;border:1px solid #80652e;border-radius:9px;background:linear-gradient(135deg,#9b7938,#c7a35c,#967333);color:#17120a;font-family:Georgia,serif;font-size:16px;letter-spacing:.7px;cursor:pointer;transition:transform .25s,box-shadow .25s,filter .25s}
.amadeya-auth-button:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 0 20px rgba(201,164,92,.25),0 8px 30px rgba(0,0,0,.35)}
.amadeya-auth-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}
.amadeya-auth-message{min-height:20px;margin-top:15px;text-align:center;font-size:13px;color:#d88888}
.amadeya-auth-message.success{color:#c9a45c}
.amadeya-auth-switch{margin-top:25px;text-align:center;font-size:13px;color:#aaa39a}
.amadeya-auth-switch a{color:#e5c77d;text-decoration:none;border-bottom:1px solid rgba(201,164,92,.35)}
.amadeya-auth-footer{margin-top:28px;text-align:center;font-size:10px;letter-spacing:2px;color:#59554e}
.amadeya-auth-logged-in{text-align:center;padding:40px;color:#eee8dc}
.amadeya-auth-link{color:#e5c77d}
@media(max-width:480px){.amadeya-auth-portal{padding:38px 25px 32px}.amadeya-auth-brand-name{font-size:25px}}
.amadeya-auth-forgot{display:block;margin-top:-7px;margin-bottom:22px;text-align:right;color:#a99570;font-size:12px;text-decoration:none}
.amadeya-auth-forgot:hover{color:#e5c77d}

/* Standalone auth shell */
html, body.amadeya-auth-standalone { min-height: 100%; }
body.amadeya-auth-standalone { margin: 0; background: #0d0b0f; }
body.amadeya-auth-standalone #page,
body.amadeya-auth-standalone .site { min-height: 100vh; }
