/* =========================================
   GLOBAL FIXES
========================================= */

body {
    overflow-x: hidden; /* prevent scroll from 100vw */
}

/* =========================================
   MAIN SCREEN (FULL WIDTH BREAKOUT)
========================================= */

.pps-screen {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    min-height: 550px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* subtle light overlay */
.pps-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    z-index: 1;
}

/* =========================================
   TOP BAR
========================================= */

.pps-topbar {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-left: 5px; 
	padding-right: 5px;
	background: #f7f7f7;
    font-size: 20px;
	font-weight: 500;
	margin-top: 0px;
    padding-bottom: 40px;
}

/* links */
.pps-screen a {
    color: #00ccff;
    text-decoration: none;
}

.pps-screen a:hover {
    text-decoration: underline;
}

/* =========================================
   CENTER AREA
========================================= */

.pps-center {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 550px;
    padding: 60px 20px;
}

/* =========================================
   LOGIN CARD
========================================= */

.pps-card {
    background: #f9f9f9;
    padding: 40px;
    width: 380px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeIn 0.25s ease;
}

/* icon image */
.pps-icon-img {
    margin-bottom: 5px;
}

.pps-icon-img img {
    max-width: 180px;
    height: auto;
}

/* title */
.pps-card h2 {
	font-family: "Source Sans Pro", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 400;
	font-size: 33px;
	margin-top: 5px;
    margin-bottom: 10px;
}

/* sub text */
.pps-help {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* =========================================
   INPUT FIELD (FINAL FIXED VERSION)
========================================= */

.pps-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 2px solid #bbb !important;
    border-radius: 6px !important;
    background: #fff !important;
    font-size: 14px;
    box-shadow: none !important;
    appearance: none;
    transition: border-color 0.2s ease;
}

/* focus state */
.pps-card input:focus {
    outline: none !important;
    border: 1px solid #444 !important;
}

/* placeholder */
.pps-card input::placeholder {
    color: #999;
}

/* =========================================
   BUTTON
========================================= */

.pps-card button {
    width: 60%;
    padding: 12px;

    background: #555;
    color: #fff;

    border: none;
    border-radius: 6px;

    font-weight: 600;
    cursor: pointer;
}

.pps-card button:hover {
    background: #333;
}

/* =========================================
   ERROR MESSAGE
========================================= */

.pps-error {
    background: #ffe5e5;
    color: #cc0000;

    border: 1px solid #cc0000;

    padding: 10px;
    margin-bottom: 15px;

    border-radius: 5px;
    font-size: 13px;

    animation: shake 0.25s;
}

/* =========================================
   PASSWORD ROW (ADMIN UI SUPPORT VISUAL)
========================================= */

.pps-pass-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.pps-pass-row input {
    flex: 1;
}

/* =========================================
   ANIMATION
========================================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}