/* Container */
.tws-inspiration-strip {
    margin: 2em 0;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #eee;
}

/* Header */
.tws-inspiration-header {
    margin-bottom: 1em;
}

.tws-inspiration-header h2 {
    font-size: 1.25em;
    margin-bottom: 0.25em;
}

.tws-inspiration-excerpt {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0.75em;
}

/* Scroll strip */
.tws-inspiration-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.tws-inspiration-tile {
    width: 140px;
    height: 140px;
    flex: 0 0 auto;
    border-radius: 3px;
    overflow: hidden;
    background: #f7f7f7;
}

.tws-inspiration-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Empty */
.tws-empty {
    font-size: 0.9em;
    color: #666;
}

/* Modal */
.tws-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.3); /* lighter overlay */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1em;
}

.tws-modal.open {
    display: flex;
}

.tws-modal-inner {
    background: #fff;
    width: 100%;
    max-width: 460px;
    padding: 1.5em;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
    max-height: 90vh;
    overflow-y: auto;
}

.tws-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* Form */
.tws-inspiration-form label {
    font-size: 0.85em;
    margin-bottom: 4px;
    display: block;
}

.tws-inspiration-form input[type="text"],
.tws-inspiration-form input[type="file"] {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 1em;
}

.tws-checkbox {
    font-size: 0.85em;
    margin-bottom: 1em;
}

/* Loading + success */
.tws-form-loading,
.tws-form-success {
    display: none;
    text-align: center;
    padding: 1em 0;
    color: #555;
}

.tws-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Lightbox */
.tws-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1em;
}

.tws-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    background: #fff;
    padding: 6px;
}
