/* SpotTheSplat Members Directory */

#sts-members-app {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Login Card */
.sts-login-card,
.sts-denied-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 20px 0;
}

.sts-login-card h3,
.sts-denied-card h3 {
    margin: 0 0 12px 0;
    font-size: 22px;
    color: #1a1a1a;
}

.sts-login-card p,
.sts-denied-card p {
    color: #555;
    margin: 0 0 24px 0;
}

#sts-google-signin-btn {
    display: inline-block;
}

/* Denied */
.sts-denied-card {
    background: #fff3cd;
    border-color: #ffc107;
}

/* Buttons */
.sts-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #1e3a5f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.sts-btn:hover {
    background: #2c5f8a;
}

.sts-btn-small {
    padding: 5px 12px;
    font-size: 12px;
}

/* Welcome Bar */
.sts-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #dee2e6;
}

#sts-welcome-name {
    font-weight: 600;
    color: #1a1a1a;
}

/* Search */
.sts-search-bar {
    margin-bottom: 16px;
}

#sts-search {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#sts-search:focus {
    outline: none;
    border-color: #2c5f8a;
    box-shadow: 0 0 0 2px rgba(44, 95, 138, 0.2);
}

/* Members Table */
.sts-members-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sts-members-table th {
    background: #1e3a5f;
    color: white;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.sts-members-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}

.sts-members-table tr:hover td {
    background: #f0f4f8;
}

.sts-members-table a {
    color: #2c5f8a;
    text-decoration: none;
}

.sts-members-table a:hover {
    text-decoration: underline;
}

/* Loading */
#sts-members-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* ---------------------------------------------------------------------------
   [sts_sign_in] dedicated sign-in page
   --------------------------------------------------------------------------- */
.sts-signin-page {
    display: flex;
    justify-content: center;
    padding: 40px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.sts-signin-card {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    text-align: center;
}
.sts-signin-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
}
.sts-signin-card .sts-muted {
    color: #6a737d;
    margin: 0 0 24px;
    font-size: 14px;
}

.sts-provider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    margin: 8px 0;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: filter 0.15s ease;
}
.sts-provider-btn:hover { filter: brightness(0.97); }
.sts-provider-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sts-provider-google {
    background: #fff;
    color: #1a1a1a;
    border-color: #dadce0;
}
.sts-provider-apple {
    background: #000;
    color: #fff;
}
.sts-provider-apple .sts-provider-logo { color: #fff; }

.sts-provider-facebook {
    background: #1877f2;
    color: #fff;
}
.sts-provider-facebook .sts-provider-logo { color: #fff; }

.sts-provider-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.6);
}
.sts-provider-disabled:hover { filter: grayscale(0.6); }

/* Apple link form & confirmation */
.sts-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    font-size: 15px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    margin: 12px 0;
    box-sizing: border-box;
}
.sts-btn-primary {
    background: #1a73e8;
    color: #fff;
    border: none;
    height: 44px;
    width: 100%;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.sts-msg {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}
