/**
 * Confession Workouts - Frontend Styles
 * Dark theme to match the app design
 */

/* CSS Variables */
:root {
    --cw-bg-dark: #0d0d0d;
    --cw-bg-card: #1a1a1a;
    --cw-bg-input: #1a1a1a;
    --cw-border: #333;
    --cw-text: #ffffff;
    --cw-text-muted: #888;
    --cw-primary: #DC538D;
    --cw-primary-hover: #e9649c;
    --cw-success: #00c853;
    --cw-radius: 12px;
    --cw-radius-sm: 8px;
}

/* Inherit font from theme (Elementor) */
.cw-form-wrapper,
.cw-form-wrapper *,
.cw-feed-wrapper,
.cw-feed-wrapper * {
    font-family: inherit;
}

/* ==========================================
   FORM STYLES
   ========================================== */

.cw-form-wrapper {
    background: transparent;
    color: var(--cw-text);
    width: 100%;
}

.cw-step {
    display: none;
    width: 100%;
}

.cw-step.active {
    display: block;
}

.cw-step-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.cw-step-content {
    width: 100%;
}

/* Loading Overlay */
.cw-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cw-loading-circle {
    width: 200px;
    height: 200px;
    position: relative;
}

.cw-loading-circle svg {
    width: 100%;
    height: 100%;
    animation: cw-rotate 2s linear infinite;
}

.cw-loading-circle circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.cw-loading-circle .cw-circle-bg {
    stroke: rgba(30, 30, 30, 0.5);
}

.cw-loading-circle .cw-circle-progress {
    stroke: url(#cw-gradient);
    stroke-dasharray: 500;
    stroke-dashoffset: 250;
}

@keyframes cw-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cw-loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.cw-loading-text h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.cw-loading-text p {
    color: var(--cw-text-muted);
    font-size: 14px;
    margin: 0;
}

/* Animation Sentences */
.cw-animation-sentence {
    margin-top: 40px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    opacity: 0;
    min-height: 28px;
    padding: 0 20px;
    max-width: 400px;
}

/* Progress Indicator */
.cw-step-header {
    margin-bottom: 40px;
}

.cw-back-btn {
    background: none;
    border: none;
    color: var(--cw-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0;
}

.cw-back-btn:hover {
    color: var(--cw-primary-hover);
}

.cw-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cw-progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--cw-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--cw-text-muted);
}

.cw-progress-step.active {
    border-color: var(--cw-primary);
    color: var(--cw-primary);
}

.cw-progress-step.completed {
    background: var(--cw-primary);
    border-color: var(--cw-primary);
    color: white;
}

.cw-progress-line {
    width: 40px;
    height: 2px;
    background: var(--cw-border);
}

.cw-progress-line.active {
    background: var(--cw-primary);
}

.cw-progress-label {
    font-size: 12px;
    color: var(--cw-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Titles */
.cw-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--cw-text);
}

.cw-description {
    font-size: 1rem;
    color: var(--cw-text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Form Elements */
.cw-form-group {
    margin-bottom: 24px;
}

.cw-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--cw-text);
}

.cw-form-group .required {
    color: var(--cw-primary);
}

.cw-textarea {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    background: var(--cw-bg-input);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);
    color: var(--cw-text);
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit;
}

.cw-textarea:focus {
    outline: none;
    border-color: var(--cw-primary);
}

.cw-textarea::placeholder {
    color: var(--cw-text-muted);
}

.cw-input,
.cw-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--cw-bg-input);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-sm);
    color: var(--cw-text);
    font-size: 16px;
    font-family: inherit;
}

.cw-input:focus,
.cw-select:focus {
    outline: none;
    border-color: var(--cw-primary);
}

.cw-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Visibility Options */
.cw-visibility-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.cw-visibility-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--cw-bg-card);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);
    cursor: pointer;
    transition: border-color 0.2s;
}

.cw-visibility-option:hover {
    border-color: var(--cw-text-muted);
}

.cw-visibility-option input[type="radio"] {
    display: none;
}

.cw-visibility-option input[type="radio"]:checked + .cw-radio-circle {
    border-color: var(--cw-primary);
}

.cw-visibility-option input[type="radio"]:checked + .cw-radio-circle::after {
    transform: scale(1);
}

.cw-radio-circle {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid var(--cw-border);
    border-radius: 50%;
    position: relative;
    margin-top: 2px;
}

.cw-radio-circle::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    background: var(--cw-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s;
}

.cw-option-content {
    flex: 1;
}

.cw-option-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--cw-text);
}

.cw-option-desc {
    display: block;
    font-size: 14px;
    color: var(--cw-text-muted);
}

/* Contact Fields */
.cw-contact-fields {
    background: var(--cw-bg-card);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);
    padding: 24px;
    margin-bottom: 32px;
}

.cw-contact-fields-row {
    display: flex;
    gap: 16px;
}

.cw-contact-fields-row .cw-form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Category Section */
.cw-category-section {
    margin-bottom: 40px;
}

.cw-category-label {
    display: block;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--cw-text);
}

.cw-optional {
    font-weight: 400;
    color: var(--cw-text-muted);
}

.cw-category-inputs {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cw-category-inputs .cw-select {
    flex: 1;
    min-width: 200px;
}

.cw-category-inputs .cw-input {
    flex: 1;
    min-width: 200px;
}

.cw-or {
    color: var(--cw-text-muted);
    font-size: 14px;
}

.cw-category-examples {
    margin-top: 12px;
    font-size: 13px;
    color: var(--cw-text-muted);
}

/* Buttons */
.cw-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cw-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--cw-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
}

.cw-btn-primary {
    background: var(--cw-primary);
    color: white;
}

.cw-btn-primary:hover:not(:disabled) {
    background: var(--cw-primary-hover);
}

.cw-btn-primary:disabled {
    background: #555;
    color: #888;
    cursor: not-allowed;
    opacity: 0.6;
}

.cw-btn-secondary,
.cw-btn-cancel {
    background: transparent !important;
    color: var(--cw-text) !important;
    border: 1px solid var(--cw-text) !important;
}

.cw-btn-secondary:hover,
.cw-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Success Step */
.cw-step-success .cw-step-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.cw-success-content {
    text-align: center;
}

.cw-success-icon {
    width: 80px;
    height: 80px;
    background: var(--cw-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    margin: 0 auto 24px;
}

.cw-success-message {
    font-size: 18px;
    color: var(--cw-text-muted);
    margin-bottom: 32px;
}

/* ==========================================
   FEED STYLES
   ========================================== */

.cw-feed-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Filter Header */
.cw-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cw-filter-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--cw-text, #fff);
}

.cw-filter-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--cw-text, #fff);
}

.cw-filter-toggle svg {
    display: block;
}

/* Filters */
.cw-feed-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cw-feed-filters.cw-filters-hidden {
    display: none;
}

.cw-filter-group {
    flex: 1;
    min-width: 200px;
}

.cw-filter-group .cw-select {
    background-color: #121212;
    border: 1px solid #1E1E1E;
}

/* Mobile: Show toggle, hide filters by default */
@media (max-width: 768px) {
    .cw-filter-toggle {
        display: block;
    }
    
    .cw-feed-filters {
        display: none;
    }
    
    .cw-feed-filters.cw-filters-visible {
        display: flex;
    }
}

/* Feed Container */
.cw-feed-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Confession Card - Gradient Border Effect (top-right, bottom-left) */
.cw-confession-card {
    position: relative;
    background: #121212;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 16px;
}

.cw-confession-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(315deg, #DC538D 0%, #1E1E1E 30%, #1E1E1E 70%, #1E1E1E 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cw-confession-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Card Content */
.cw-confession-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--cw-text, #fff);
    margin-bottom: 16px;
}

.cw-confession-content.cw-truncated {
    display: -webkit-box;
    -webkit-line-clamp: unset;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Button - Small Style with pill shape */
.cw-read-more-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 16px;
    background: transparent;
    border: 1px solid rgba(220, 83, 141, 0.5);
    border-radius: 50px;
    color: var(--cw-primary);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.cw-read-more-btn:hover {
    background: rgba(220, 83, 141, 0.1);
    border-color: var(--cw-primary);
    color: var(--cw-primary);
    text-decoration: none;
}

/* Divider */
.cw-confession-divider {
    width: 100px;
    max-width: 100px;
    height: 1px;
    background: #1E1E1E;
    margin: 16px 0;
}

/* Card Meta */
.cw-confession-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cw-shared-by {
    font-size: 14px;
    color: #FFFFFF;
}

.cw-shared-by span {
    color: #FFFFFF;
}

.cw-date {
    font-size: 10px;
    color: var(--cw-text-muted, #888);
    margin-top: 4px;
}

.cw-workout-label {
    font-size: 14px;
    color: #FFFFFF;
}

.cw-workout-label span {
    color: var(--cw-primary);
    font-weight: 600;
}

.cw-workout-label a.cw-workout-link {
    color: var(--cw-primary);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cw-workout-label a.cw-workout-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Relate Button */
.cw-relate-wrapper {
    margin-top: 16px !important;
}

.cw-relate-btn {
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    padding: 8px 16px !important;
    border: 1px solid #dc538d !important;
    border-radius: 50px !important;
    gap: 8px !important;
    color: #fff !important;
    font-size: 14px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: normal !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    outline: none !important;
}

.cw-relate-btn:focus,
.cw-relate-btn:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.cw-relate-icon-inactive img, .cw-relate-icon-active img {
    max-width: 20px !important;
}

.cw-relate-btn .cw-relate-svg {
    width: 18px !important;
    height: 18px !important;
    color: #dc538d !important;
}

.cw-relate-btn .cw-relate-icon-active {
    display: none !important;
}

.cw-relate-btn .cw-relate-icon-inactive {
    display: inline-flex !important;
}

.cw-relate-wrapper.related .cw-relate-btn .cw-relate-icon-active {
    display: inline-flex !important;
}

.cw-relate-wrapper.related .cw-relate-btn .cw-relate-icon-inactive {
    display: none !important;
}

.cw-relate-wrapper.related .cw-relate-btn {
    background: rgba(220, 83, 141, 0.1) !important;
    cursor: default !important;
}

.cw-relate-wrapper.related .cw-relate-btn .cw-relate-svg {
    color: #dc538d !important;
}

.cw-relate-text {
    transition: opacity 0.3s ease !important;
    color: #fff !important;
}

.cw-relate-btn .cw-relate-count {
    color: #fff !important;
    font-size: 13px !important;
}

.cw-relate-wrapper.related .cw-relate-btn .cw-relate-count {
    color: #fff !important;
}

/* Reaction Buttons Container */
.cw-reaction-buttons {
    display: flex !important;
    gap: 12px !important;
    margin-top: 16px !important;
    flex-wrap: wrap !important;
}

.cw-reaction-buttons .cw-relate-wrapper,
.cw-reaction-buttons .cw-respect-wrapper {
    margin-top: 0 !important;
}

/* Respect Button */
.cw-respect-wrapper {
    margin-top: 16px !important;
}

.cw-respect-btn {
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    padding: 8px 16px !important;
    border: 1px solid #dc538d !important;
    border-radius: 50px !important;
    gap: 8px !important;
    color: #fff !important;
    font-size: 14px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: normal !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    outline: none !important;
}

.cw-respect-btn:focus,
.cw-respect-btn:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.cw-respect-icon-inactive img, .cw-respect-icon-active img {
    max-width: 20px !important;
}

.cw-respect-btn .cw-respect-svg {
    width: 18px !important;
    height: 18px !important;
    color: #dc538d !important;
}

.cw-respect-btn .cw-respect-icon-active {
    display: none !important;
}

.cw-respect-btn .cw-respect-icon-inactive {
    display: inline-flex !important;
}

.cw-respect-wrapper.respected .cw-respect-btn .cw-respect-icon-active {
    display: inline-flex !important;
}

.cw-respect-wrapper.respected .cw-respect-btn .cw-respect-icon-inactive {
    display: none !important;
}

.cw-respect-wrapper.respected .cw-respect-btn {
    background: rgba(220, 83, 141, 0.1) !important;
    cursor: default !important;
}

.cw-respect-wrapper.respected .cw-respect-btn .cw-respect-svg {
    color: #dc538d !important;
}

.cw-respect-text {
    transition: opacity 0.3s ease !important;
    color: #fff !important;
}

.cw-respect-btn .cw-respect-count {
    color: #fff !important;
    font-size: 13px !important;
}

.cw-respect-wrapper.respected .cw-respect-btn .cw-respect-count {
    color: #fff !important;
}

/* Editorial Post Media */
.cw-editorial-media {
    margin-bottom: 16px;
    border-radius: var(--cw-radius-sm);
    overflow: hidden;
}

.cw-editorial-media img {
    width: 100%;
    height: auto;
    display: block;
}

.cw-editorial-media iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

/* YouTube Shorts - responsive display */
.cw-video-shorts {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cw-video-shorts iframe {
    border: none;
    display: block;
}

/* Desktop: landscape mode for Shorts */
@media screen and (min-width: 769px) {
    .cw-video-shorts {
        max-width: 100%;
    }
    .cw-video-shorts iframe {
        width: 100%;
        aspect-ratio: 16/9;
    }
}

/* Mobile: vertical full-width mode for Shorts */
@media screen and (max-width: 768px) {
    .cw-video-shorts {
        width: 100%;
    }
    .cw-video-shorts iframe {
        width: 100%;
        aspect-ratio: 9/16;
        max-height: 80vh;
    }
}

.cw-editorial-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    background: rgba(220, 83, 141, 0.2);
    color: var(--cw-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Category badge in header removed, simplified card */
.cw-confession-header {
    display: none;
}

/* No Confessions */
.cw-no-confessions {
    text-align: center;
    padding: 60px 20px;
    background: #121212;
    border: 1px solid #1E1E1E;
    border-radius: var(--cw-radius, 12px);
    color: var(--cw-text-muted, #888);
}

/* Load More / Infinite Scroll */
.cw-load-more-wrap {
    text-align: center;
    margin-top: 32px;
    min-height: 50px;
}

.cw-load-more {
    min-width: 200px;
    display: none;
}

.cw-loading {
    color: var(--cw-text-muted, #888);
    font-style: italic;
}

.cw-loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--cw-border);
    border-top-color: var(--cw-primary);
    border-radius: 50%;
    animation: cw-spin 0.8s linear infinite;
}

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

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 600px) {
    .cw-title {
        font-size: 1.75rem;
    }
    
    .cw-category-inputs {
        flex-direction: column;
    }
    
    .cw-category-inputs .cw-select,
    .cw-category-inputs .cw-input {
        width: 100%;
    }
    
    .cw-or {
        padding: 8px 0;
    }
    
    .cw-form-actions {
        flex-direction: column;
    }
    
    .cw-btn {
        width: 100%;
        text-align: center;
    }
    
    .cw-feed-filters {
        flex-direction: column;
    }
    
    .cw-filter-group {
        width: 100%;
    }
    
    .cw-contact-fields-row {
        flex-direction: column;
    }
    
    .cw-contact-fields-row .cw-form-group {
        margin-bottom: 16px;
    }
    
    .cw-contact-fields-row .cw-form-group:last-child {
        margin-bottom: 0;
    }
}

/* Animation for new cards */
@keyframes cw-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cw-confession-card.cw-new {
    animation: cw-fadeIn 0.4s ease;
}

/* ==========================================
   SINGLE VIEW PAGE STYLES
   ========================================== */

.cw-single-wrapper {
    width: 100%;
}

/* Single Card - Gradient Border Effect (top-right, bottom-left) */
.cw-single-card {
    position: relative;
    background: #121212;
    border-radius: 16px;
    padding: 32px;
}

.cw-single-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(315deg, #DC538D 0%, #1E1E1E 30%, #1E1E1E 70%, #1E1E1E 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cw-single-card .cw-confession-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--cw-text, #fff);
    margin-bottom: 24px;
}

.cw-single-card .cw-confession-divider {
    margin: 24px 0;
}

/* Meta section on single page */
.cw-single-card .cw-confession-meta {
    padding-bottom: 0;
}

/* Muscles Trained Section */
.cw-muscles-trained-section {
    margin-top: 0;
}

.cw-muscles-trained-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.cw-muscles-box {
    display: inline-flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
    padding: 16px;
    border: 1px solid #333;
    border-radius: 12px;
}

.cw-muscle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
    text-align: center;
}

.cw-muscle-item.cw-primary {
    border-right: 1px solid #444;
}

.cw-muscle-type {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cw-text-muted, #888);
    margin-bottom: 8px;
}

.cw-muscle-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #666;
    border-radius: 50%;
    padding: 12px;
}

.cw-muscle-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Primary muscle icon - green/yellow tint */
.cw-muscle-item.cw-primary .cw-muscle-icon img {
    filter: brightness(0) saturate(100%) invert(86%) sepia(54%) saturate(399%) hue-rotate(43deg) brightness(101%) contrast(101%);
}

/* Secondary muscle icon - blue/cyan tint */
.cw-muscle-item.cw-secondary .cw-muscle-icon img {
    filter: brightness(0) saturate(100%) invert(65%) sepia(91%) saturate(382%) hue-rotate(152deg) brightness(97%) contrast(94%);
}

.cw-muscle-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cw-muscle-item.cw-primary .cw-muscle-icon-placeholder {
    color: #c0ff3e;
}

.cw-muscle-item.cw-secondary .cw-muscle-icon-placeholder {
    color: #3ecfff;
}

.cw-muscle-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

/* Moderation Text */
.cw-moderation-text {
    margin-top: 32px;
    font-size: 13px;
    color: var(--cw-text-muted, #888);
    line-height: 1.6;
}

/* Action Buttons */
.cw-single-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cw-action-btn {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.cw-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

/* Single Page Responsive */
@media (max-width: 768px) {
    .cw-single-card {
        padding: 20px;
    }
    
    .cw-muscles-trained-title {
        font-size: 16px;
    }
    
    .cw-muscles-box {
        padding: 12px 8px;
        justify-content: center;
    }
    
    .cw-muscle-item {
        padding: 8px 6px;
    }
    
    .cw-muscle-item.cw-primary {
        border-right: 1px solid #444;
    }
    
    .cw-muscle-type {
        font-size: 7px;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }
    
    .cw-muscle-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .cw-muscle-name {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    
    .cw-single-actions {
        flex-direction: column;
    }
    
    .cw-action-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cw-muscle-item {
        padding: 6px 4px;
    }
    
    .cw-muscle-type {
        font-size: 6px;
    }
    
    .cw-muscle-icon {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .cw-muscle-name {
        font-size: 7px;
    }
}

/* Honeypot field - hidden from users */
.cw-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}
