/* =============================================================================
   JAIL OR NO JAIL - GYM FORM INSPECTOR APP SPECIFIC CSS
   ============================================================================= */

/* Import the core styles first */
@import url('/css/italian.css');

/* =============================================================================
   GYM APP THEME OVERRIDES - Iron Gray, Blood Red, Steel Blue
   ============================================================================= */

/* Main background with gym floor planks using 3-color palette */
body,
.jail-app-gym {
    background: 
        repeating-linear-gradient(
            0deg,
            #2C2C2C 0px,
            #2C2C2C 80px,
            #CC0000 80px,
            #CC0000 160px,
            #4A90A4 160px,
            #4A90A4 240px
        );
    background-attachment: fixed;
}

/* Subtle wood grain texture overlay for gym floor planks */
body::before,
.jail-app-gym::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 2px,
            transparent 2px,
            transparent 6px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
    z-index: 0;
}

/* =============================================================================
   GYM LOGO COLORS - Iron theme
   ============================================================================= */

.jail-app-gym .logo-jail-top {
    color: #CC0000;
    text-shadow: 3px 3px 0px #000000;
}

.jail-app-gym .logo-or-no {
    color: #4A90A4;
    text-shadow: 2px 2px 0px #000000;
}

.jail-app-gym .logo-jail-bottom {
    color: #CC0000;
    text-shadow: 3px 3px 0px #000000;
}

/* =============================================================================
   GYM JUDGE CARDS - Hardcore metal finish
   ============================================================================= */

.jail-app-gym .judge-card {
    width: 110px;
    background: linear-gradient(145deg, #3a3a3a, #2C2C2C);
    border: 3px solid #4A90A4;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.jail-app-gym .judge-card.selected {
    border-color: #CC0000;
    background: linear-gradient(145deg, #4a0000, #330000);
    box-shadow: 
        0 6px 20px rgba(204, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.jail-app-gym .judge-name {
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* =============================================================================
   GYM PREVIEW CONTAINER - Iron plate style
   ============================================================================= */

.jail-app-gym .content-preview-container {
    background: linear-gradient(145deg, #3a3a3a, #2C2C2C);
    border: 4px dashed #4A90A4;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jail-app-gym .content-preview-container.has-image {
    border-color: #CC0000;
    background: linear-gradient(145deg, #2C2C2C, #1a1a1a);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jail-app-gym .preview-placeholder {
    color: #4A90A4;
}

.jail-app-gym .preview-placeholder-icon {
    opacity: 0.8;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* =============================================================================
   GYM BUTTONS - Industrial strength
   ============================================================================= */

.jail-app-gym .photo-controls button {
    background: linear-gradient(145deg, #4A90A4, #3a7a94);
    color: #FFFFFF;
    border: 3px solid #2C2C2C;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.jail-app-gym .photo-controls button:hover {
    background: linear-gradient(145deg, #5aa0b4, #4A90A4);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.jail-app-gym .analyze-btn {
    background: linear-gradient(145deg, #CC0000, #aa0000);
    color: #FFFFFF;
    border: 3px solid #2C2C2C;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.jail-app-gym .analyze-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #dd1010, #CC0000);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(204, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.jail-app-gym .analyze-btn:disabled {
    background: linear-gradient(145deg, #666666, #4a4a4a);
    color: #999999;
}

/* =============================================================================
   GYM RESULTS SCREEN - Championship belt style
   ============================================================================= */

.jail-app-gym .back-btn {
    background: linear-gradient(145deg, #4A90A4, #3a7a94);
    border: 2px solid #2C2C2C;
    color: #FFFFFF;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.jail-app-gym .verdict-card {
    background: linear-gradient(145deg, #3a3a3a, #2C2C2C);
    border: 4px solid #4A90A4;
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Gym-specific verdict badge colors */
.jail-app-gym .jail-result .verdict-badge {
    background: linear-gradient(145deg, #CC0000, #aa0000);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.jail-app-gym .safe-result .verdict-badge {
    background: linear-gradient(145deg, #4A90A4, #3a7a94);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Gym-specific verdict section colors */
.jail-app-gym .jail-result .card-details-section {
    background: linear-gradient(145deg, #CC0000, #aa0000);
    color: white;
}

.jail-app-gym .safe-result .card-details-section {
    background: linear-gradient(145deg, #4A90A4, #3a7a94);
    color: white;
}

/* =============================================================================
   GYM ACTION BUTTONS
   ============================================================================= */

.jail-app-gym .share-result-btn,
.jail-app-gym .generate-video-btn {
    background: linear-gradient(145deg, #4A90A4, #3a7a94);
    color: #FFFFFF;
    border: 3px solid #2C2C2C;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.jail-app-gym .share-result-btn:hover,
.jail-app-gym .generate-video-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #5aa0b4, #4A90A4);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.jail-app-gym .generate-video-btn:disabled {
    background: linear-gradient(145deg, #666666, #4a4a4a);
    color: #999999;
}

/* =============================================================================
   GYM SHARE CAPTURE STYLES
   ============================================================================= */

.jail-app-gym.share-capture {
    background: repeating-linear-gradient(
        0deg,
        #2C2C2C 0px,
        #2C2C2C 80px,
        #CC0000 80px,
        #CC0000 160px,
        #4A90A4 160px,
        #4A90A4 240px
    ) !important;
}

.jail-app-gym.share-capture .verdict-card {
    background: linear-gradient(145deg, #3a3a3a, #2C2C2C) !important;
}

.jail-app-gym.share-capture .card-details-section.jail-result {
    background: linear-gradient(145deg, #CC0000, #aa0000) !important;
}

.jail-app-gym.share-capture .card-details-section.safe-result {
    background: linear-gradient(145deg, #4A90A4, #3a7a94) !important;
}

/* =============================================================================
   GYM ERROR MESSAGES
   ============================================================================= */

.jail-app-gym .error {
    background: linear-gradient(145deg, #CC0000, #aa0000);
    color: #FFFFFF;
    border: 2px solid #2C2C2C;
}

/* =============================================================================
   GYM RESPONSIVE OVERRIDES
   ============================================================================= */

@media (max-width: 480px) {
    .jail-app-gym .logo-jail-top, 
    .jail-app-gym .logo-jail-bottom {
        font-size: 2.4em;
    }
    
    .jail-app-gym .logo-or-no {
        font-size: 1.4em;
    }
}

/* =============================================================================
   GYM-THEMED DECORATIVE ELEMENTS
   ============================================================================= */

/* Add subtle weight plate patterns as background decoration */
.jail-app-gym .upload-container::after {
    content: '💪 🏋️ 💪 🔥 💪';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    opacity: 0.3;
    letter-spacing: 5px;
    pointer-events: none;
}

/* Iron texture for judge avatars */
.jail-app-gym .judge-avatar {
    background: linear-gradient(145deg, #4a4a4a, #2C2C2C);
    border: 3px solid #4A90A4;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Text styling for hardcore gym atmosphere */
.jail-app-gym .select-judge-text,
.jail-app-gym .show-content-text {
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.jail-app-gym .verdict-crime,
.jail-app-gym .verdict-sentence,
.jail-app-gym .verdict-reasoning {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}