/*
Theme Name: TAP Queue Ultra Light
Author: IGAL Group
Description: Ultra light WordPress theme for TAP Queue. No header, no footer, no extras.
Version: 1.4
Text Domain: tap-queue-ultra-light
*/

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tap-queue-main {
    width: 100%;
    min-height: 100vh;
}

.tap-queue-wrap {
    width: 100%;
    min-height: 100vh;
    padding: var(--tap-queue-padding, 0px);
}

.tap-queue-content {
    width: 100%;
    max-width: var(--tap-queue-content-width, 100%);
    margin: 0 auto;
}

.tap-queue-entry-content {
    width: 100%;
    margin: 0;
}

.tap-queue-entry-content > :first-child {
    margin-top: 0;
}

.tap-queue-entry-content > :last-child {
    margin-bottom: 0;
}

.tap-queue-full-height .tap-queue-wrap {
    min-height: 100vh;
}

.tap-queue-centered .tap-queue-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tap-queue-centered .tap-queue-content {
    width: 100%;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Theme My Login / TAP Clock Pro login screen */
body.tap-queue-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(47, 107, 255, .16), transparent 32%),
        radial-gradient(circle at 80% 0%, rgba(19, 184, 166, .14), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #eef4ff 48%, #f8fffd 100%);
    color: #0f172a;
}

body.tap-queue-login-page .tap-queue-wrap,
body.tap-queue-login-page .tap-queue-main,
body.tap-queue-login-page .tap-queue-content,
body.tap-queue-login-page .tap-queue-entry-content {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.tap-login-shell {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 56px);
}

.tap-login-card {
    width: min(100%, 460px);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .16);
    padding: clamp(28px, 4vw, 46px);
    backdrop-filter: blur(18px);
}

.tap-login-brand {
    text-align: center;
    margin: 0 0 28px;
}

.tap-login-logo {
    width: min(250px, 82%);
    max-height: 110px;
    object-fit: contain;
    margin: 0 auto 18px;
}

.tap-login-brand h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.1;
    letter-spacing: -.04em;
    color: #0f172a;
}

.tap-login-brand p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
}

.tap-login-form-wrap,
.tap-login-form-wrap .tml,
.tap-login-form-wrap form {
    width: 100%;
}

.tap-login-form-wrap .tml,
.tap-login-form-wrap .tml * {
    box-sizing: border-box;
}

.tap-login-form-wrap .tml-field-wrap,
.tap-login-form-wrap .tml-user-login-wrap,
.tap-login-form-wrap .tml-user-pass-wrap,
.tap-login-form-wrap .tml-rememberme-wrap,
.tap-login-form-wrap .login-username,
.tap-login-form-wrap .login-password,
.tap-login-form-wrap .login-remember {
    margin: 0 0 18px;
}

.tap-login-form-wrap label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    color: #334155;
}

.tap-login-form-wrap input[type="text"],
.tap-login-form-wrap input[type="email"],
.tap-login-form-wrap input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #d7dee9;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 16px;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .03);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.tap-login-form-wrap input[type="text"]:focus,
.tap-login-form-wrap input[type="email"]:focus,
.tap-login-form-wrap input[type="password"]:focus {
    border-color: var(--tap-login-accent, #2f6bff);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(47, 107, 255, .14);
}

.tap-login-form-wrap .tml-rememberme-wrap,
.tap-login-form-wrap .login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 14px;
}

.tap-login-form-wrap .tml-rememberme-wrap label,
.tap-login-form-wrap .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 600;
    color: #475569;
}

.tap-login-form-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--tap-login-accent, #2f6bff);
}

.tap-login-form-wrap .tml-submit-wrap,
.tap-login-form-wrap .login-submit {
    margin: 8px 0 18px;
}

.tap-login-form-wrap input[type="submit"],
.tap-login-form-wrap button[type="submit"],
.tap-login-form-wrap .button-primary {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--tap-login-accent, #2f6bff), #13b8a6);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(47, 107, 255, .24);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.tap-login-form-wrap input[type="submit"]:hover,
.tap-login-form-wrap button[type="submit"]:hover,
.tap-login-form-wrap .button-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 34px rgba(47, 107, 255, .30);
}

.tap-login-form-wrap .tml-links,
.tap-login-form-wrap ul.tml-links,
.tap-login-form-wrap .tml-action-links,
.tap-login-form-wrap .login-links {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    text-align: center;
}

.tap-login-form-wrap .tml-links li,
.tap-login-form-wrap .tml-action-links li {
    margin: 0;
    padding: 0;
}

.tap-login-form-wrap a {
    color: var(--tap-login-accent, #2f6bff);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.tap-login-form-wrap a:hover,
.tap-login-form-wrap a:focus {
    text-decoration: underline;
}

.tap-login-form-wrap .tml-error,
.tap-login-form-wrap .tml-message,
.tap-login-form-wrap .message,
.tap-login-form-wrap .error {
    border: 1px solid rgba(239, 68, 68, .22);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 0 0 18px;
    background: rgba(254, 242, 242, .92);
    color: #991b1b;
    font-size: 14px;
}

@media (max-width: 520px) {
    .tap-login-shell {
        align-items: flex-start;
        padding: 22px 14px;
    }

    .tap-login-card {
        border-radius: 22px;
        padding: 26px 20px;
    }
}
