/* SpotTheSplat Notices */

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

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

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

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

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

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

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

.sts-google-btn {
    background: #4285f4;
}

.sts-google-btn:hover {
    background: #3367d6;
    color: white;
}

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

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

/* No Notices */
.sts-no-notices {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Notice Cards */
.sts-notice-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

/* Notice Image */
.sts-notice-image {
    margin: 0;
    line-height: 0;
}
.sts-notice-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Card content padding (after image) */
.sts-notice-title,
.sts-notice-meta,
.sts-notice-body,
.sts-notice-contact,
.sts-notice-footer {
    padding-left: 24px;
    padding-right: 24px;
}
.sts-notice-title { padding-top: 20px; }
.sts-notice-footer { padding-bottom: 20px; }

.sts-notice-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sts-notice-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #1e3a5f;
}

.sts-notice-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.sts-notice-body {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Attachment */
.sts-notice-attachment {
    padding-left: 24px;
    padding-right: 24px;
    margin-bottom: 12px;
}

.sts-attachment-link {
    display: inline-block;
    padding: 8px 14px;
    background: #f0f4f8;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    color: #1e3a5f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.sts-attachment-link:hover {
    background: #e1e8ef;
    text-decoration: none;
}

.sts-attachment-icon {
    font-size: 15px;
}

.sts-notice-contact {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.sts-notice-contact a {
    color: #2c5f8a;
    text-decoration: none;
}

.sts-notice-contact a:hover {
    text-decoration: underline;
}

/* Footer: link + QR */
.sts-notice-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.sts-notice-link {
    color: #2c5f8a;
    font-weight: 600;
    text-decoration: none;
}

.sts-notice-link:hover {
    text-decoration: underline;
}

.sts-notice-qr {
    border: 1px solid #eee;
    border-radius: 4px;
}

/* Compact homepage widget — [notices_titles] */
.sts-notices-titles { margin: 0; padding: 0; }
.sts-notices-titles .sts-nt-row {
    margin: 0 0 4px;
    padding: 0;
    line-height: 1.35;
    background: none;
    list-style: none;
}
.sts-notices-titles .sts-nt-row:last-child { margin-bottom: 0; }
.sts-notices-titles a { text-decoration: none; }
.sts-notices-titles a:hover { text-decoration: underline; }
