/* Upload Page Specific Styles */

.upload-section {
    min-height: calc(100vh - 300px);
    padding: 3rem 1rem;
    background-color: #fafafa;
}

.upload-container {
    max-width: 600px;
    margin: 0 auto;
}

.upload-heading {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #111111;
}

.upload-description {
    text-align: center;
    font-size: 1.125rem;
    color: #555555;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.upload-form-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.upload-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333333;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #7d1bd1;
}

.form-input::placeholder {
    color: #999999;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border: 2px dashed #cccccc;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-label:hover {
    border-color: #7d1bd1;
    background-color: #f0f7ff;
}

.file-input:focus + .file-label {
    border-color: #7d1bd1;
    box-shadow: 0 0 0 3px rgba(125, 27, 209, 0.1);
}

.file-icon {
    font-size: 2rem;
}

.file-text {
    font-weight: 600;
    color: #555555;
}

.file-name {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #7d1bd1;
    font-weight: 500;
    word-break: break-all;
}

/* Upload Progress */
.upload-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background-color: #7d1bd1;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555555;
}

/* Upload Message */
.upload-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.upload-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.upload-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.upload-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* Payment Section */
.payment-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.payment-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #222222;
}

.pricing-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fafafa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.price-label {
    font-weight: 500;
    color: #555555;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7d1bd1;
}

#paypal-button-container {
    margin-top: 1rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.modal-location {
    font-size: 1.25rem;
    font-weight: 600;
    color: #7d1bd1;
    margin-bottom: 1.5rem;
}

.modal-message {
    font-size: 1.125rem;
    color: #555555;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-home-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #7d1bd1;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(125, 27, 209, 0.3);
}

.modal-home-button:hover {
    background-color: #6a17b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(125, 27, 209, 0.4);
}

.modal-home-button:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 768px) {
    .upload-section {
        padding: 4rem 2rem;
    }

    .upload-heading {
        font-size: 2.5rem;
    }

    .upload-form-container {
        padding: 3rem;
    }

    .modal-content {
        padding: 3rem 2.5rem;
    }

    .modal-title {
        font-size: 2rem;
    }

    .modal-location {
        font-size: 1.375rem;
    }
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
        max-width: calc(100% - 2rem);
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-location {
        font-size: 1.125rem;
    }

    .modal-message {
        font-size: 1rem;
    }

    .modal-home-button {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
        width: 100%;
    }
}