* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo i {
    font-size: 3rem;
    color: #ff4444;
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
}

.main-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
}

.hero-section {
    text-align: center;
}

.title {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 700;
}

.instructions {
    font-size: 1.5rem;
    color: #666666;
    margin-bottom: 2.5rem;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    font-size: 1rem;
}

.feature-item i {
    color: #ff4444;
    font-size: 1.2rem;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ff4444;
    color: #ffffff;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.upload-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

.upload-btn i {
    font-size: 1.5rem;
}

.footer {
    text-align: center;
    margin-top: 2rem;
    color: #888888;
    font-size: 0.9rem;
}

.pdf-counter {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background: #f9f9f9;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
}

.pdf-counter i {
    color: #ff4444;
    font-size: 1.3rem;
}


.success-message {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #ff4444;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1rem;
}

.success-text {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
}

.uuid-display {
    background: #f9f9f9;
    border: 2px solid #ff4444;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.uuid-label {
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.uuid-value {
    color: #ff4444;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.pdf-link {
    display: inline-block;
    margin-top: 1rem;
    color: #ff4444;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.pdf-link:hover {
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ff4444;
    color: #ffffff;
}

.btn-primary:hover {
    background: #cc0000;
}

.btn-primary i {
    color: #ffffff;
}

.btn-secondary {
    background: #000000;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #333333;
}

.btn-danger {
    background: #ff4444;
    color: #ffffff;
}

.btn-danger:hover {
    background: #cc0000;
}

.error-message {
    background: #fff5f5;
    border: 2px solid #ff4444;
    border-radius: 12px;
    padding: 1rem;
    color: #cc0000;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.2);
}

.error-message::before {
    content: "⚠️";
    font-size: 1.5rem;
}

.success-message-popup {
    background: #f0fff0;
    border: 2px solid #00cc00;
    border-radius: 12px;
    padding: 1rem;
    color: #006600;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 204, 0, 0.2);
}

.success-message-popup::before {
    content: "✓";
    font-size: 1.5rem;
    color: #00cc00;
    font-weight: bold;
}

/* Alert/Console Pop-up Styles */
.alert-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: 2px solid #ff4444;
    border-radius: 12px;
    padding: 1.5rem;
    color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

.alert-popup.success {
    border-color: #00cc00;
    background: #f0fff0;
}

.alert-popup.error {
    border-color: #ff4444;
    background: #fff5f5;
}

.alert-popup.info {
    border-color: #0066cc;
    background: #f0f8ff;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.alert-popup-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000000;
}

.alert-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666666;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.alert-popup-close:hover {
    color: #000000;
}

.alert-popup-message {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333333;
}


