/* Streamit-themed PSF Styles */

.psf-submissions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.psf-submission-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.psf-submission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(229, 9, 20, 0.2);
    border-color: #e50914;
}

.psf-submission-card img {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.psf-submission-card:hover img {
    transform: scale(1.05);
}

.psf-submission-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.psf-submission-card p {
    margin-top: 15px;
    color: #ccc;
}

.psf-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.psf-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(34, 32, 32, 0.95); /* Streamit secondary color */
    border: 2px solid #333;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    min-width: 300px;
    backdrop-filter: blur(10px);
}

#psf_submissions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.psf_submission {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #333;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    max-width: 300px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.psf_submission:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(229, 9, 20, 0.2);
    border-color: #e50914;
}

.psf_image {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.psf_image img {
    border-radius: 8px;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.psf_submission:hover .psf_image img {
    transform: scale(1.05);
}

.psf_text,
.psf_feedback {
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    color: #fff;
}

.psf_feedback h4 {
    color: #e50914;
    font-weight: 600;
}

/* Modern Form Styling - Streamit Theme */
.psf_form_container {
    border-radius: 12px;
    box-shadow: none; /* Remove shadow */
    margin-bottom: 2rem;
    max-width: 600px;
    padding: 2rem;
    color: #fff !important; /* Force all text to be white */
}

.psf_form_container * {
    color: #fff !important; /* Force all child elements to have white text */
}

.psf_form_container h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, #e50914, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.psf_form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.psf_form label {
    color: #fff !important; /* Force white text */
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.psf_form input[type="text"] {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #333;
    border-radius: 8px;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.psf_form input[type="text"]:focus {
    outline: none;
    border-color: #e50914;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.psf_form input[type="text"]::placeholder {
    color: #999;
}

.psf_form input[type="file"] {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed #333;
    border-radius: 8px;
    padding: 1rem;
    color: #fff !important; /* Force white text */
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.psf_form input[type="file"]:hover {
    border-color: #e50914;
    background: rgba(229, 9, 20, 0.1);
}

.psf_form input[type="file"]:focus {
    outline: none;
    border-color: #e50914;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

.psf_form button {
    background: #e50914; /* Streamit primary red */
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.psf_form button:hover {
    background: #d40813; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.psf_form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.3);
}

/* File input styling - Light gray buttons */
.psf_form input[type="file"]::-webkit-file-upload-button {
    background: #7C859B; /* Streamit gray-300 color */
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.psf_form input[type="file"]::-webkit-file-upload-button:hover {
    background: #6c757d; /* Darker gray on hover */
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .psf_form_container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .psf_form_container h2 {
        font-size: 1.5rem;
    }
    
    .psf_form {
        gap: 1rem;
    }
    
    .psf_form input[type="text"],
    .psf_form input[type="file"] {
        padding: 0.8rem;
    }
    
    .psf_form button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}


