/* TFSS Feature Management - Frontend Styles */

.tfss-feature-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tfss-feature-banner {
    margin-bottom: 20px;
    text-align: center;
}

.tfss-banner-image {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tfss-feature-title {
    color: #333;
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.3;
}

.tfss-feature-start-date {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.tfss-start-date-heading {
    margin: 0;
    font-size: 1.6em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.tfss-upcoming-notice {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #856404;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #ffc107;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.tfss-upcoming-notice p {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
}

.tfss-feature-heading {
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #007cba;
    margin-bottom: 20px;
    border-radius: 4px;
}

.tfss-heading-text {
    font-size: 1.2em;
    color: #555;
    margin: 0;
    font-style: italic;
}

.tfss-prizes-section {
    margin: 30px 0;
}

.tfss-prizes-section h3 {
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.tfss-prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.tfss-prize-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tfss-prize-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tfss-prize-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.tfss-prize-image {
        flex-shrink: 0;
        margin: 0 auto 20px auto;
        text-align: center;
        display: block;
}
.tfss-prize-image-large {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 25px auto !important;
    display: block !important;
    text-align: center !important;
}

.tfss-prize-img-large {
    width: 100% !important;
    max-width: 1200px !important;
    height: auto !important;
    min-height: 200px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 2px solid #007cba !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    margin-bottom: 10px !important;
    display: block !important;
    background: #f8f9fa !important;
    padding: 15px !important;
}
.tfss-prize-img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.tfss-prize-info {
    flex-grow: 1;
}

.tfss-prize-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.tfss-prize-amount {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    margin-bottom: 10px;
}

.tfss-prize-contact {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 3px solid #28a745;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    text-align: center;
}

.tfss-prize-contact h3 {
    margin: 0 0 20px 0;
    color: #155724;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.tfss-prize-contact h5 {
    margin: 0 0 15px 0;
    color: #856404;
    font-size: 1.1em;
}

.tfss-contact-notice {
    margin: 15px 0;
    padding: 15px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-weight: 500;
}

.tfss-contact-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tfss-terms-requirement {
    margin-top: 10px;
    text-align: center;
}

.tfss-required-download {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.tfss-required-download:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}

.tfss-contact-details {
    transition: opacity 0.3s ease;
}

.tfss-contact-item {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    font-size: 1.1em;
}

.tfss-contact-item strong {
    color: #155724;
    margin-right: 10px;
    font-weight: bold;
}

.tfss-contact-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.tfss-contact-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.tfss-target-fish,
.tfss-tag-details {
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(0, 124, 186, 0.1);
    border-left: 3px solid #007cba;
    border-radius: 4px;
}

.tfss-target-fish strong,
.tfss-tag-details strong {
    color: #007cba;
}

.tfss-prize-description {
    margin-top: 15px;
    color: #555;
    line-height: 1.5;
}

.tfss-prize-description p {
    margin-bottom: 10px;
}

.tfss-location,
.tfss-dates {
    margin-bottom: 20px;
    padding: 15px;
    background: #f1f1f1;
    border-radius: 4px;
}

.tfss-location-label,
.tfss-date-label {
    font-weight: bold;
    color: #333;
    margin-right: 8px;
}

.tfss-location-value,
.tfss-date-value {
    color: #666;
}

.tfss-start-date,
.tfss-end-date {
    margin-bottom: 5px;
}

.tfss-end-date {
    margin-bottom: 0;
}

.tfss-feature-description {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tfss-terms-conditions {
    margin-top: 30px;
}

.tfss-feature-description h3,
.tfss-terms-conditions h3 {
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.tfss-description-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    font-family: Georgia, "Times New Roman", serif;
}

.tfss-terms-content {
    line-height: 1.6;
    color: #555;
}

.tfss-description-content p,
.tfss-terms-content p {
    margin-bottom: 15px;
}

.tfss-description-content ul,
.tfss-terms-content ul,
.tfss-description-content ol,
.tfss-terms-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.tfss-description-content li,
.tfss-terms-content li {
    margin-bottom: 8px;
}

.tfss-terms-download {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
}

.tfss-download-button {
    display: inline-block;
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
}

.tfss-download-button:hover {
    background: linear-gradient(135deg, #005a87, #004066);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.4);
}

.tfss-download-button:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.tfss-terms-placeholder {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

.tfss-terms-placeholder p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

.tfss-download-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.tfss-download-note {
    margin: 10px 0 0 0;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tfss-feature-container {
        margin: 10px;
        padding: 15px;
    }
    
    .tfss-feature-title {
        font-size: 1.8em;
    }
    
    .tfss-start-date-heading {
        font-size: 1.3em;
    }
    
    .tfss-feature-start-date {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .tfss-heading-text {
        font-size: 1.1em;
    }
    
    .tfss-prizes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tfss-prize-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tfss-prize-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .tfss-prize-img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .tfss-feature-title {
        font-size: 1.5em;
    }
    
    .tfss-start-date-heading {
        font-size: 1.1em;
    }
    
    .tfss-feature-start-date {
        padding: 12px;
    }
    
    .tfss-prize-amount {
        font-size: 1em;
    }
    
    .tfss-prize-contact {
        padding: 10px;
    }
}
