        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Ubuntu', sans-serif;
        }

        :root {
            --primary-color: #25D366;
            --primary-dark: #128C7E;
            --primary-light: #DCF8C6;
            --secondary-color: #FFFFFF;
            --text-color: #4A4A4A;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        body {
            background-color: #f9f9f9;
            color: var(--text-color);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        header {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 1.5rem 2rem;
            box-shadow: var(--shadow);
            text-align: center;
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 1.8rem;
            font-weight: 700;
        }

        .logo i {
            font-size: 2.2rem;
        }

        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1.5rem;
            flex: 1;
        }

        .app-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
        }

        .upload-section, .result-section {
            background: var(--secondary-color);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow);
            flex: 1;
            min-width: 300px;
        }

        .section-title {
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title i {
            font-size: 1.5rem;
        }

        .upload-area {
            border: 2px dashed var(--primary-color);
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 1.5rem;
        }

        .upload-area:hover {
            background-color: var(--primary-light);
        }

        .upload-area i {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .upload-area h3 {
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
        }

        .upload-area p {
            color: #777;
        }

        #file-input {
            display: none;
        }

        .button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .button:active {
            transform: translateY(0);
        }

        .button:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
            transform: none;
        }

        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .secondary-button {
            background-color: #f0f0f0;
            color: var(--text-color);
        }

        .secondary-button:hover {
            background-color: #e0e0e0;
        }

        .image-preview {
            margin-top: 1.5rem;
            text-align: center;
        }

        .image-preview img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .result-area {
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 1.5rem;
            min-height: 200px;
            max-height: 400px;
            overflow-y: auto;
            margin-top: 1.5rem;
            background-color: #f9f9f9;
            white-space: pre-wrap;
        }

        .placeholder-text {
            color: #999;
            text-align: center;
            padding: 2rem;
        }

        .progress-container {
            margin-top: 1rem;
            background: #f0f0f0;
            border-radius: 8px;
            overflow: hidden;
            display: none;
        }

        .progress-bar {
            height: 10px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            width: 0%;
            transition: width 0.3s ease;
        }

        .progress-status {
            text-align: center;
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: #777;
        }

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

        .feature {
            background: var(--secondary-color);
            border-radius: 8px;
            padding: 1.5rem;
            flex: 1;
            min-width: 250px;
            box-shadow: var(--shadow);
            text-align: center;
        }

        .feature i {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        footer {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
            color: white;
            text-align: center;
            padding: 2rem;
            margin-top: 3rem;
        }

        /* Beautiful Alert System */
        .alert-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .alert-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .alert-box {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 400px;
            overflow: hidden;
            transform: translateY(-20px);
            transition: transform 0.3s ease;
        }

        .alert-overlay.active .alert-box {
            transform: translateY(0);
        }

        .alert-header {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 1.2rem;
            text-align: center;
            font-weight: 500;
        }

        .alert-content {
            padding: 1.5rem;
            text-align: center;
        }

        .alert-buttons {
            display: flex;
            justify-content: center;
            padding: 0 1.5rem 1.5rem;
            gap: 1rem;
        }

        .alert-button {
            padding: 0.6rem 1.5rem;
            border: none;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .alert-button-primary {
            background: var(--primary-color);
            color: white;
        }

        .alert-button-primary:hover {
            background: var(--primary-dark);
        }

        .alert-button-secondary {
            background: #f0f0f0;
            color: var(--text-color);
        }

        .alert-button-secondary:hover {
            background: #e0e0e0;
        }

        /* Toast Notification */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
        }

        .toast {
            background: white;
            border-left: 4px solid var(--primary-color);
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            padding: 1rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            transform: translateX(100%);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .toast.show {
            transform: translateX(0);
            opacity: 1;
        }

        .toast i {
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .toast.success {
            border-left-color: #4CAF50;
        }

        .toast.success i {
            color: #4CAF50;
        }

        .toast.error {
            border-left-color: #F44336;
        }

        .toast.error i {
            color: #F44336;
        }

        .toast.warning {
            border-left-color: #FF9800;
        }

        .toast.warning i {
            color: #FF9800;
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 1rem;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            background: white;
            border-radius: 12px;
            width: 100%;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transform: translateY(-20px);
            transition: transform 0.3s ease;
        }

        .modal-overlay.active .modal-container {
            transform: translateY(0);
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 1.2rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h3 {
            margin: 0;
            font-weight: 500;
        }

        .modal-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .modal-content {
            padding: 1.5rem;
        }

        .modal-content h4 {
            color: var(--primary-dark);
            margin-top: 0;
            margin-bottom: 1rem;
        }

        .modal-content ul {
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .modal-content li {
            margin-bottom: 0.5rem;
        }

        /* Form Styles */
        .form-group {
            margin-bottom: 1.2rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-color);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-family: 'Ubuntu', sans-serif;
            font-size: 1rem;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        /* Footer Links */
        .footer-links {
            margin-top: 1rem;
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer-links a:hover {
            color: white;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .app-container {
                flex-direction: column;
            }
            
            .upload-section, .result-section {
                width: 100%;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .button {
                width: 100%;
                justify-content: center;
            }

            .alert-buttons {
                flex-direction: column;
            }

            .footer-links {
                flex-direction: column;
                gap: 0.8rem;
                align-items: center;
            }
            
            .modal-container {
                margin: 1rem;
                max-height: 85vh;
            }
        }
          .version-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  
  .version-badge::before {
    content: "●";
    font-size: 0.6rem;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }
  
  @media (max-width: 768px) {
    .version-badge {
      top: 0.5rem;
      right: 0.5rem;
      font-size: 0.7rem;
      padding: 0.2rem 0.6rem;
    }
  }