/* CSS Reset and Basic Styling */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

       .form-container {
            width: 100%;
            padding: 2rem;
        }

        .form-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .form-header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            color: #f9fafb;
        }

        .form-header p {
            color: #9ca3af;
        }
        
        /* Styling for form groups */
        .form-group {
            margin-bottom: 1rem;
        }
        
        /* Form labels */
        label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            color: #d1d5db;
            margin-bottom: 0.5rem;
        }
        
        label.required::after {
            content: ' *';
            color: #f87171;
        }

        /* Form inputs */
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="number"],
        textarea {
            width: 100%;
            padding: 0.5rem 0.75rem;
            border: 1px solid #4b5563;
            border-radius: 0.375rem;
            background-color: #374151;
            color: #f9fafb;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        
        input::placeholder,
        textarea::placeholder {
            color: #9ca3af;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="tel"]:focus,
        input[type="number"]:focus,
        textarea:focus {
            outline: none;
            border-color: #818cf8;
            box-shadow: 0 0 0 2px #4f46e5;
        }
        
        /* Radio button styling */
        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .radio-option input[type="radio"] {
            display: none;
        }

        .radio-option label {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #4b5563;
            border-radius: 0.375rem;
            cursor: pointer;
            text-align: left;
            font-weight: 500;
            background-color: #374151;
            color: #d1d5db;
            transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
            margin-bottom: 0;
        }
        
        .product-icon {
            width: 40px;
            height: 40px;
            margin-right: 1rem;
            border-radius: 0.375rem;
            object-fit: contain;
        }
        
        .radio-option input[type="radio"]:checked + label {
            background-color: #312e81;
            border-color: #818cf8;
            color: #f9fafb;
        }
        
        .radio-option input[type="radio"]:disabled + label {
            opacity: 0.5;
            cursor: not-allowed;
            background-color: #1f2937;
        }
        
        #license-group .radio-option label {
            justify-content: space-between;
        }
        
        .license-price {
            font-weight: 600;
            color: #6ee7b7;
        }
        
        #habis .license-price {
            color: #f87171; /* Red color for "Habis" */
        }

        .radio-option input[type="radio"]:checked + label .license-price {
            color: #f9fafb;
        }

        /* Summary & Payment Details */
        .summary-section {
            margin-bottom: 1.5rem;
        }
        .summary-section:last-of-type {
            margin-bottom: 0;
        }
        .summary-section h4 {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: #f9fafb;
            border-bottom: 1px solid #4b5563;
            padding-bottom: 0.5rem;
        }
        .summary-item {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
        }
        .summary-item-label {
            width: 120px;
            color: #9ca3af;
            flex-shrink: 0;
        }
        .summary-item-value {
            font-weight: 500;
            color: #f9fafb;
            word-break: break-all;
        }
        .summary-product {
            align-items: flex-start;
        }
        .summary-product img {
            margin-right: 1rem;
        }
        .product-info {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }
        .payment-details, .total-price-container {
            padding: 1rem;
            background-color: #111827;
            border-radius: 0.5rem;
            border: 1px solid #4b5563;
        }
        .price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }
        .price-row span:first-child { color: #9ca3af; }
        .price-row span:last-child { font-weight: 500; color: #f9fafb; }
        .price-total {
            border-top: 1px solid #4b5563;
            padding-top: 0.75rem;
            margin-top: 0.75rem;
            margin-bottom: 0;
        }
        .price-total #summary-total-price {
            font-weight: 700;
            font-size: 1.125rem;
            color: #6ee7b7;
        }
        .payment-note {
            font-size: 0.75rem;
            color: #9ca3af;
            text-align: center;
            margin-top: 0.75rem;
            font-style: italic;
        }

        /* Copy Button Styles */
        .value-with-copy {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-grow: 1;
            justify-content: space-between;
        }

        .btn-copy {
            background-color: transparent;
            border: 1px solid #4b5563;
            color: #9ca3af;
            padding: 0.25rem 0.5rem;
            border-radius: 0.375rem;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            font-size: 0.8rem;
            line-height: 1;
			margin-right: auto;
        }

        .btn-copy:hover {
            background-color: #4b5563;
            color: #f9fafb;
        }
        
        .btn-copy.copied {
            background-color: #16a34a;
            border-color: #16a34a;
            color: #f9fafb;
            font-size: 0.8rem;
        }

        .btn-copy .fa-check {
            margin-right: 0.25rem;
        }


        /* Payment Methods */
        .payment-methods-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 0.75rem;
        }
        
        .payment-methods-grid .radio-option label {
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            height: 100%;
            min-height: 80px;
        }

        .payment-methods-grid .radio-option i {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: #a5b4fc;
        }
        
        .radio-option input[type="radio"]:checked + label i {
            color: #f9fafb;
        }
        
        /* Agreement Checkbox */
        .agreement-container {
            margin-top: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem;
            background-color: #374151;
            border-radius: 0.5rem;
        }
        .agreement-container input[type="checkbox"] {
            width: 1.15em;
            height: 1.15em;
            flex-shrink: 0;
            accent-color: #4f46e5;
        }
        .agreement-container label {
            margin-bottom: 0;
            font-size: 0.875rem;
            color: #d1d5db;
            cursor: pointer;
        }

        /* Button styling */
        .button-container {
            padding-top: 1.5rem;
            display: flex;
            justify-content: flex-end; /* Default alignment for tab 1 */
            gap: 0.75rem;
        }
        
        #tab-2 .button-container, #tab-3 .button-container {
            justify-content: space-between; /* Override for tab 2 & 3 */
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.6rem 1.2rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 0.375rem;
            box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            transition: background-color 0.2s, opacity 0.2s;
            border: 1px solid transparent;
            cursor: pointer;
        }
        
        .btn-primary {
            background-color: #4f46e5;
            color: #ffffff;
        }
        .btn-primary:hover:not(.disabled) {
            background-color: #4338ca;
        }
        .btn.disabled {
            background-color: #4b5563;
            opacity: 0.7;
            cursor: not-allowed;
        }

        .btn-secondary {
            background-color: #374151;
            color: #d1d5db;
            border-color: #4b5563;
        }
        .btn-secondary:hover {
            background-color: #4b5563;
        }

        .btn i {
            margin-right: 0.5rem;
        }

        /* Tab styling */
        .tab {
            display: none;
        }
        .tab.active {
            display: block;
            animation: fadeIn 0.5s;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }