/* style.css - Frontend form styles */
.msf-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.msf-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.msf-field-group {
    margin-bottom: 20px;
}

.msf-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.msf-field-group select,
.msf-field-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.msf-field-group select:focus,
.msf-field-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.msf-field-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.msf-submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(-135deg, #1d4b69 0%, #0082b9 50%, #76cbe9 100%);
    /* Enable smooth gradient shift */
    background-size: 150% 150%;
    background-position: 0% 50%;

    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    /* Animate background-position for gradient movement */
    transition: transform 0.2s, box-shadow 0.2s, background-position 0.6s ease;
}

.msf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    /* Shift gradient on hover */
    background-position: 100% 100%;
}

.msf-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

/* User Submissions View */
.msf-my-submissions {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.msf-my-submissions-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.msf-user-filter-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e1e5eb;
}

.msf-user-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.msf-user-filter-row label {
    font-weight: 600;
    color: #555;
}

.msf-user-filter-row select {
    padding: 10px 15px;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    font-size: 14px;
    min-width: 140px;
}

.msf-filter-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #76cbe9 0%, #1d4b69 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.msf-filter-btn:hover {
    transform: translateY(-1px);
}

.msf-clear-btn {
    padding: 10px 20px;
    background: #6b7280;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.msf-no-results {
    text-align: center;
    color: #6b7280;
    padding: 40px;
    background: #f9fafb;
    border-radius: 8px;
}

.msf-results-info {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 15px;
}

.msf-submissions-grid {
    display: grid;
    gap: 20px;
}

.msf-submission-card {
    background: white;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.msf-submission-header {
    background: linear-gradient(135deg, #76cbe9 0%, #1d4b69 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msf-submission-date {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.msf-submission-time {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.msf-submission-content {
    padding: 20px;
    color: #333;
    line-height: 1.6;
    white-space: normal;
    font-size: 1rem;
}
.msf-submission-type {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}
