/* Manuscript Validation Styles */

.required-specs {
    background: #fffbf0;
    border: 1px solid #f6ad55;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-size: 14px;
}

.required-specs h4 {
    margin-bottom: 10px;
    color: #c05621;
}

.spec-item {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-item strong {
    color: #2d3748;
}

/* File upload area */
.file-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-upload-area.drag-over {
    border-color: #667eea;
    background: #eef2ff;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 14px;
    color: #718096;
}

/* Validation feedback */
.validation-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.validation-status.validating {
    background: #fffbf0;
    border: 1px solid #f6ad55;
    color: #c05621;
}

.validation-status.success {
    background: #f0fff4;
    border: 1px solid #48bb78;
    color: #22543d;
}

.validation-status.error {
    background: #fff5f5;
    border: 1px solid #fc8181;
    color: #742a2a;
}

/* Status icons */
.status-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
}

.status-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #f6ad55;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Details section */
.validation-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.details-item {
    margin: 6px 0;
    font-size: 13px;
}

.details-label {
    font-weight: 600;
    color: #4a5568;
}

.details-value {
    color: #2d3748;
}

/* Manuscript requirements card */
.manuscript-requirements-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    margin: 15px 0;
}

.requirements-list {
    list-style-type: disc;
    padding-left: 25px;
    margin: 0;
}

.requirements-list li {
    margin: 8px 0;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

.requirements-list li strong {
    color: #2d3748;
    font-weight: 600;
}

/* Upload area styles */
.upload-area {
    margin: 15px 0;
    background: white;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.upload-area:hover {
    border-color: #667eea;
}

.upload-placeholder {
    text-align: center;
    padding: 25px 20px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.upload-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.upload-placeholder p {
    margin: 8px 0;
    font-size: 14px;
}

.upload-placeholder strong {
    color: #667eea;
}

.upload-hint {
    font-size: 13px;
    color: #718096;
}

.upload-btn {
    margin-top: 15px;
    padding: 10px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.upload-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: #667eea;
    width: 0%;
    transition: width 0.3s ease;
}

/* Uploaded file info */
.uploaded-file-info {
    padding: 15px;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon {
    font-size: 20px;
}

.file-name {
    font-size: 14px;
    color: #22543d;
    font-weight: 500;
}

.remove-file-btn {
    padding: 8px 16px;
    background: #fc8181;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-file-btn:hover {
    background: #f56565;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(245, 101, 101, 0.3);
}

/* Help text */
.help-text {
    margin-top: 25px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.help-text p {
    margin: 8px 0;
    font-size: 14px;
    color: #4a5568;
}

.help-text strong {
    color: #2d3748;
}

/* Comparison table */
.comparison-table {
    margin: 20px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
}

.comparison-table tr:hover td {
    background: #f7fafc;
}

.comparison-table .check {
    color: #48bb78;
    font-weight: bold;
}

.comparison-table .cross {
    color: #f56565;
    font-weight: bold;
}

