/* === FPS Submission Form Styles === */

.fps-form {
    max-width: 700px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fps-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

.fps-form input[type="text"],
.fps-form input[type="url"],
.fps-form input[type="email"],
.fps-form input[type="file"],
.fps-form input[type="date"],
.fps-form textarea,
.fps-form select {
    width: 100%;
    padding: 12px;
    margin: 6px 0 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.fps-form input[type="text"]:focus,
.fps-form input[type="url"]:focus,
.fps-form input[type="email"]:focus,
.fps-form input[type="file"]:focus,
.fps-form input[type="date"]:focus,
.fps-form textarea:focus,
.fps-form select:focus {
    border-color: #0073aa;
    background-color: #fff;
    outline: none;
}

.fps-form input[type="file"] {
    background: #fafafa;
    padding: 10px;
}

.fps-submit-btn,
.fps-form input[type="submit"] {
    background: #0073aa;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.fps-submit-btn:hover,
.fps-form input[type="submit"]:hover {
    background: #005177;
}

.fps-success {
    color: #28a745;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

/* === FPS File Button === */

.fps-file a {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.fps-file a:hover {
    background: #005177;
}

/* === FPS Video Embed === */

.fps-video {
    margin: 20px auto;
    width: 100%;
    max-width: 700px;
}

.fps-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.fps-video-wrapper iframe,
.fps-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* === FPS Gallery (Full Width) === */

.fps-additional-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.fps-additional-images a {
    display: block;
    width: 100%;
    max-width: 350px; /* Control individual image size */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    transition: transform 0.2s ease;
}

.fps-additional-images a:hover {
    transform: scale(1.03);
}

.fps-additional-images img {
    width: 100%;
    height: auto;
    display: block;
}

/* === Responsive Adjustments === */

@media (max-width: 768px) {
    .fps-form {
        padding: 20px;
    }
    
    .fps-video-wrapper {
        max-width: 100%;
    }

    .fps-additional-images a {
        max-width: 100%;
    }

    .fps-additional-images img {
        width: 100%;
    }

    .fps-form input,
    .fps-form textarea,
    .fps-form select {
        font-size: 15px;
    }

    .fps-submit-btn {
        width: 100%;
        font-size: 15px;
    }
}