/* ==============================================================================
   AR MAINTENANCE SYSTEM - STYLES
   All styles for the maintenance/construction pages.
   ============================================================================== */

/* === BASE RESET & LAYOUT === */
body.ar-maint-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #f0f7ff;
    color: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.ar-maint-container {
    text-align: center;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.ar-maint-container h1 {
    color: #2563eb;
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
}

.ar-maint-container p {
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/* === LOGO === */
.ar-maint-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* === ICON WRAPPER & SECRET TRIGGER === */
.ar-maint-icon-wrapper {
    position: relative;
    display: inline-block;
    width: 180px;
    height: 180px;
    margin-bottom: 1.5rem;
}

.ar-maint-icon-wrapper svg,
.ar-maint-icon-wrapper img {
    width: 100%;
    height: 100%;
    color: #F89E30 !important;
}

/* The invisible clickable center area */
.ar-maint-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

/* === ADMIN VERIFICATION FORM (Token 1 page) === */
.ar-maint-form-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    width: 320px;
    max-width: 100%;
    border: 1px solid #bfdbfe;
    box-sizing: border-box;
}

.ar-maint-form-box h2 {
    text-align: center;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
}

.ar-maint-form-box input[type="text"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.2s;
}

.ar-maint-form-box input[type="text"]:focus {
    outline: none;
    border-color: #2563eb;
}

.ar-maint-form-box button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.ar-maint-form-box button:hover {
    background: #1d4ed8;
}

.ar-maint-form-box button:active {
    background: #1e40af;
}

/* === SUCCESS / ERROR MESSAGE BOXES === */
.ar-maint-msg-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 450px;
    width: 100%;
    border: 1px solid #bfdbfe;
    box-sizing: border-box;
}

.ar-maint-msg-box h1 {
    color: #2563eb;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.ar-maint-msg-box p {
    color: #475569;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
}

.ar-maint-msg-box strong {
    color: #0f172a;
}

.ar-maint-msg-box .ar-maint-small-text {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 1.5rem;
}

/* Error variant */
.ar-maint-msg-box.ar-maint-error h1 {
    color: #c00707;
}

/* === GENERIC ERROR PAGE === */
.ar-maint-generic-error {
    text-align: center;
    padding: 2rem;
    color: #0f172a;
}

.ar-maint-generic-error h1 {
    color: #c00707;
}

.ar-maint-generic-error a {
    color: #2563eb;
    text-decoration: none;
}

.ar-maint-generic-error a:hover {
    text-decoration: underline;
}