/* ===== SUBMIT PAPER PAGE CSS ===== */

/* Hero Section */
.submit-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background: linear-gradient(
  135deg,
  rgba(44, 62, 80, 0.8) 0%,
  rgba(26, 37, 47, 0.3) 100%
);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* Submission Section */
.submission-section {
    padding: 60px 0;
    background: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

/* Form Elements */
.submission-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group.full-width {
    width: 100%;
}

.form-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(230,126,34,0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 150px;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* File Upload */
.upload-area {
    background: var(--background-light);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--secondary);
    background: rgba(230,126,34,0.02);
}

.upload-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.upload-text p {
    margin: 0;
    font-weight: 500;
    color: var(--primary);
}

.upload-text small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.upload-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.upload-btn:hover {
    background: var(--primary-dark);
}

.file-name {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: auto;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--secondary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Guidelines Sidebar */
.guidelines-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.guidelines-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.guidelines-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guidelines-card h3 i {
    color: var(--secondary);
}

.guidelines-card ul {
    list-style: none;
    padding: 0;
}

.guidelines-card li {
    margin-bottom: 10px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.guidelines-card li i {
    color: var(--success);
    font-size: 0.8rem;
}

.guidelines-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.guidelines-card a {
    color: var(--secondary);
    text-decoration: none;
}

.guidelines-card a:hover {
    text-decoration: underline;
}

/* Track Section */
.track-section {
    padding: 60px 0;
    background: white;
}

.track-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--background-light);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.track-card h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.track-card h2 i {
    color: var(--secondary);
    margin-right: 10px;
}

.track-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.track-form {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.track-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
}

.track-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.track-result {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    border-left: 4px solid var(--secondary);
}

.track-result h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.track-result p {
    margin: 5px 0;
    color: var(--text-light);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(241,196,15,0.2);
    color: #f39c12;
}

.status-review {
    background: rgba(52,152,219,0.2);
    color: #3498db;
}

.status-completed {
    background: rgba(46,204,113,0.2);
    color: #27ae60;
}

/* Confirmation Modal */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: relative;
    background: white;
    max-width: 500px;
    width: 90%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
    z-index: 10001;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    padding: 25px;
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.paper-details {
    background: var(--background-light);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.paper-details p {
    margin: 8px 0;
}

.paper-details strong {
    color: var(--primary);
}

.modal-footer {
    padding: 20px 25px;
    background: var(--background-light);
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--border-color);
}

.modal-footer .btn {
    flex: 1;
    text-align: center;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10001;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .upload-area {
        flex-wrap: wrap;
    }
    
    .file-name {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .track-form {
        flex-direction: column;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}