/* Frontend Styles for Full Paper Uploader */

#fpu-upload-form {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.fpu-field {
    margin-bottom: 15px;
}

.fpu-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.fpu-field input[type="text"],
.fpu-field textarea,
.fpu-field input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

.fpu-field textarea {
    resize: vertical;
}

.fpu-field small {
    color: #666;
    font-size: 12px;
}

#upload-btn {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

#upload-btn:hover {
    background: #005a87;
}

#upload-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#upload-progress {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: #0073aa;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #666;
}

#upload-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 3px;
}

#upload-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#upload-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* My Papers Table */
#fpu-my-papers {
    margin: 20px 0;
}

.fpu-papers-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.fpu-papers-table th,
.fpu-papers-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.fpu-papers-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.fpu-papers-table tr:hover {
    background: #f9f9f9;
}

.status-pending {
    color: #856404;
    background: #fff3cd;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.status-approved {
    color: #155724;
    background: #d4edda;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.status-rejected {
    color: #721c24;
    background: #f8d7da;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    #fpu-upload-form {
        padding: 15px;
    }
    
    .fpu-papers-table {
        font-size: 14px;
    }
    
    .fpu-papers-table th,
    .fpu-papers-table td {
        padding: 8px 5px;
    }
}