/* File: wp-content/plugins/prj-setlist-builder/assets/css/prj-public-checkin.css */

/* Wrapper */
.prj-public-checkin-app {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
}

/* Header */
.prj-public-checkin-head {
    text-align: center;
    margin-bottom: 16px;
}

.prj-public-checkin-title {
    margin: 0 0 6px;
    font-size: 20px;
}

.prj-public-checkin-meta {
    font-size: 13px;
    color: #666;
}

/* Status message */
.prj-public-checkin-status {
    text-align: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.prj-public-checkin-status.is-success {
    color: #1e8e3e;
}

.prj-public-checkin-status.is-error {
    color: #d93025;
}

/* List */
.prj-public-checkin-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Person button */
.prj-public-checkin-person {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;

    width: 100%;
    padding: 12px 14px;

    border: 1px solid #ddd;
    border-radius: 6px;

    background: #fff;
    cursor: pointer;
    text-align: left;

    transition: all 0.15s ease;
}

.prj-public-checkin-person:hover {
    border-color: #999;
}

/* Checked state */
.prj-public-checkin-person.is-checked {
    background: #e6f4ea;
    border-color: #34a853;
    cursor: default;
}

/* Loading state */
.prj-public-checkin-person.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Name */
.prj-public-checkin-person-name {
    font-size: 15px;
    font-weight: 600;
}

/* Roles */
.prj-public-checkin-person-role {
    font-size: 12px;
    color: #777;
}

/* Action text */
.prj-public-checkin-person-action {
    margin-top: 4px;
    font-size: 12px;
    color: #333;
}

/* Checked text */
.prj-public-checkin-person.is-checked .prj-public-checkin-person-action {
    color: #1e8e3e;
    font-weight: 600;
}

/* Errors */
.prj-public-checkin-error {
    text-align: center;
    padding: 20px;
    color: #d93025;
}

/* Empty */
.prj-public-checkin-empty {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Loading */
.prj-public-checkin-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.prj-checkin-login-btn {
    display:inline-block;
    padding:10px 16px;
    background:#b6f500;
    color:#000;
    font-weight:600;
    text-decoration:none;
    border-radius:50px;
}

.prj-public-checkin-person-songs {
    font-size: 12px;
    color: #666;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

.prj-public-checkin-person {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.prj-public-checkin-person.is-checked {
    position: relative;
    overflow: hidden;
}

.prj-public-checkin-person.is-checked::after {
    content: "CHECKED IN";
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 900;
    font-size: 20px;
    letter-spacing: 2px;

    color: #b6f500;

    background: rgba(0,0,0,0.35); /* lighter so content still visible */

    text-shadow:
        0 0 4px #000,
        0 0 8px #000,
        0 0 12px #000;

    pointer-events: none;
}

.prj-public-checkin-person.is-checked * {
    opacity: 1;
}
