@charset "utf-8";
/* CSS Document */

 /* --- Main Container Styling --- */
        .app-container {
            width: 100%;
/*            max-width: 512px;*/
            background-color: #000f50;
            box-shadow: var(--card-shadow);
            border-radius: 1rem;
            padding: 24px 6px;
        }
        @media (min-width: 768px) {
            .app-container {
                padding: 2rem;
            }
        }
        
    
        /* --- Button Styling --- */
        .bizcard-action-btn {
            width: 100%;
            background-color: var(--primary-color);
            color: #000f50;
            font-weight: bold;
            padding: 9px 14px;
            border-radius: 36px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
            transition: all 300ms ease;
            cursor: pointer;
            border: none;
            outline: none;
        }
        .bizcard-action-btn:hover:not(:disabled) {
            background-color: #ec038a;
    		transform: scale(1.01);
    			color: var(--category-header-color-dark);
			
        }
        .bizcard-action-btn:focus:not(:disabled) {
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5);
        }
        .bizcard-action-btn i {
            margin-right: 0.5rem;
        }

        /* Disabled State (used for the payment button initially) */
        .bizcard-action-btn:disabled {
            background-color: #9ca3af; /* bg-gray-400 */
            cursor: not-allowed;
            opacity: 0.7;
            transform: none; /* remove hover scale effect */
        }
        
  /* --------------------------------------------------------
    CRITICAL CSS FIX: Modal Styling for slugChangeModal
    (Replace or merge with your existing modal styles)
--------------------------------------------------------- */

/* 1. Base Modal Style (Hidden by Default) */
/* 1. Base Modal Style - Add scrolling for small screens */
.slugChangeModal { 
    position: fixed;
    inset: 0;
    background-color: var(--modal-backdrop, rgba(0, 0, 0, 0.75));
    z-index: 50;
    display: flex;
    /* CHANGE: Align to the top instead of center. This prevents the modal from jumping 
       off the screen when the keyboard appears from the bottom. */
    align-items: flex-start; 
    justify-content: center;
    
    padding: 2rem 1rem; /* Added top/bottom padding for breathing room */
    overflow-y: auto; /* CRITICAL: Allows the background wrapper to scroll */
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms, visibility 300ms;
/*	    padding-top: 174px;*/
}

/* 2. Content Style - Ensure content uses max-width correctly */
.modalSlug-content { 
    background-color: var(--card-background);	
    border-radius: 9px;
    padding: 18px 9px;
    width: 100%;
    max-width: 600px;
    
    /* Ensure no margin/height issues conflict with scrolling */
    margin-top: 32px; 
    margin-bottom: 0;

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 300ms;
    transform: scale(0.95);
	display: inline-grid;
	position: relative;
}

/* 2. Class to Show the Modal (Toggled by JavaScript) */
.slugChangeModal.is-active { 
    opacity: 1;
    visibility: visible;
}


/* 4. Style the active content transition */
.slugChangeModal.is-active .modalSlug-content { 
    transform: scale(1);
}

@media (min-width: 768px) {
    .modalSlug-content { 
        padding: 2rem;
        background: #000f50; /* Specific background for desktop/tablet */
    }
}
 
        
        /* --- Input Group Styling --- */
        .input-group {
            display: flex;
            align-items: stretch;
            border: 1px solid #d1d5db;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            margin-bottom: 1rem;
        }
        .input-group:focus-within {
            box-shadow: 0 0 0 2px var(--primary-color);
        }
        
        .slug-prefix {
            background-color: #f3f4f6;
            color: #666;
            font-family: monospace;
            font-size: 16px;
            padding: 9px 9px;
            display: flex;
            align-items: center;
            user-select: none;
            white-space: nowrap;
        }
        
        .custom-slug-input {
            flex-grow: 1;
            color: #1f2937;
            font-size: 16px;
    		padding: 12px 6px;
            border: none;
            outline: none;
            background-color: white;
			font-weight: 600;
        }

        /* --- Feedback and Payment Button --- */
        #full-slug-display {
            font-weight: bold;
            color: var(--primary-color);
            word-break: break-all;
			font-size: 14px;
        }

        #validation-feedback {
            height: 1.5rem;
            margin-bottom: 36px;
            font-size: 0.875rem;
            font-weight: 500;
            transition: color 300ms;
        }

        .text-error { color: #ef4444; }
        .text-success { color: #10b981; }
        .text-neutral { color: #6b7280; }

.slug_header_style{
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
	margin-bottom: 6px;
    border-bottom: 1px solid #000f29; 
	padding-bottom: 0.75rem;
}

/* Update your CSS to target the new ID */
#slugChangeModal.is-active {
    opacity: 1;
    visibility: visible;
}

/* If you need to target the content based on the new ID */
#slugChangeModal.is-active .modal-content {
    transform: scale(1);
}

#close-modal-btn{
	    background: transparent;
    border: none;
    text-align: right;
    color: var(--text-blue-to-darkblue-color);
    padding-bottom: 24px;
	font-size: 18px;
}


/* Special styles for the SUCCESS modal content (to stand out) */
.modal-success-content {
    /* The success modal appears on top of the regular modal, 
       so it gets a slightly higher z-index (e.g., z-index 1001) 
       if the main modal uses z-index 1000. 
       Since the success modal is inside the same container structure, 
       this is often managed by keeping its parent `#slugSuccessModal` on top. 
       Let's ensure the parent wrapper is separate and has a higher z-index if needed, 
       but keeping both in the same class structure simplifies it. */
       
   /* Green border for success look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Style for the success message text */
#success-message {
    color: #333;
    font-size: 1rem;
    word-break: break-word; /* Ensure long slugs wrap correctly */
}

/* Style for the button group */
.button-group {
    margin-top: 1.5rem;
}



/* Custom styles for the success buttons based on the JS inline styles */
#success-refresh-btn {
    background-color: #007bff; /* Blue for refresh */
    color: white;
}

#success-refresh-btn:hover {
    background-color: #0056b3;
}

#success-close-btn {
    background-color: transparent;
    border: none;
    font-size: 20px;
    text-align: right;
    color: var(--primary-color);
}

#success-close-btn:hover {
    background-color: #5a6268;
}

/* Simple animation for the modal */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

#slugSuccessModal {
    z-index: 1001; /* Higher than the main modal's z-index (1000) */
}

.slugamount{
	font-size: 0.75rem; 
	color: var(--accent-pink); 
	margin-bottom: 0.5rem;
}

close-btn {
    position: absolute;
    top: 10px;      /* Adjust vertical position */
    right: 10px;    /* Adjust horizontal position */
    color: #aaa;
    font-size: 20px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1; /* Helps vertical alignment of the icon */
    padding: 5px;
    border-radius: 4px;
    transition: color 0.2s;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
}