
        /* Spinner styles */
        .spinner {
            display: none;
            margin: 0 auto;
            border: 5px solid #f3f3f3; /* Light gray */
            border-top: 5px solid #007bff; /* Blue */
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        tool body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f4f4f9;
        }
        .url-input-group {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
        .url-input-group input[type="text"] {
            width: 450px;
            padding: 30px 20px;
            font-size: 18px !important;
            border: 2px solid #ccc;
            border-radius: 12px 0 0 12px;
            box-sizing: border-box;
            outline: none;
            transition: border-color 0.3s ease;
        }
        .url-input-group input[type="text"]:focus {
            border-color: #007bff;
        }
        .url-input-group button {
            padding: 12px 20px;
            font-size: 18px;
            border: none;
            background-color: #3f403f;
            color: white;
            cursor: pointer;
            border-radius: 0 12px 12px 0;
            transition: background-color 0.3s ease;
        }
        .url-input-group button:hover {
            background-color: #585a58;
        }
        .result-box {
            margin-top: 20px;
            padding: 15px;
            padding-left: 30px;
            padding-right: 30px;
            border: 2px solid #ddd;
            background: #f9f9f9;
            border-radius: 8px;
        }
        .result-box p {
            font-size: 18px !important;
            font-weight: normal;
            color: #e2a732;
            margin-top: 2px;
            margin-bottom: 27px;
        }
        .result-box .preview-content {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        .result-box .preview-content img {
            width: 24px;
            height: 24px;
            margin-right: 10px;
            border-radius: 50%;
        }
        .result-box .combined-preview {
            font-size: 14px !important;
            color: #545454;
            line-height: 1.5;
        }
        .result-box .combined-title {
            font-size: 20px;
            color: #1a0dab;
            margin-bottom: 5px;
        }
        .tool-text {
            margin-top: 20px;
            margin-bottom: 20px;
            font-size: 20px;
        }
      
        /* Container to hold all inputs in one row */
        .input-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: space-between;
        }
        .input-group {
            flex: 1;
            min-width: 100%; /* Ensures responsiveness */
        }
        .input-group label {
            display: block;
            font-weight: bold;
            margin-bottom: 10px;
        }
        /* Multi-line text area styling */
        .input-group textarea {
            width: 100%;
            padding: 13px;
            font-size: 14px;
            border: 2px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
            resize: none; /* Prevents manual resizing */
            height: 50px; /* Approximate 3-line height */
            line-height: 1.5;
            overflow-y: auto; /* Enables scrolling for extra lines */
            white-space: pre-wrap;
            word-wrap: break-word;

        }
        .pixel-indicator {
            margin-top: 5px;
            font-size: 16px;
        }
        .pixel-indicator span {
            font-weight: bold;
        }
        .valid {
            color: #28a745; /* Green for valid */
        }
        .invalid {
            color: #dc3545; /* Red for invalid */
        }
        .alert {
            display: inline-block;
            font-size: 16px;
            margin-top: 5px;
            color: #dc3545;
        }
        .success {
            display: inline-block;
            font-size: 16px;
            margin-top: 5px;
            color: #28a745;
        }
        .row {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-top: 5px;
        }
       /* Desktop result box gap */
        #desktop-result .favicon-name-group {
            display: flex;
            align-items: center;
            margin-left: 220px;  /* 150px gap for desktop */
            margin-right: 220px; /* 150px gap for desktop */
        }
        #desktop-result .favicon-name-group img{
            width: 25px;  /* Ensure proper favicon size */
            height: 25px;
            display: block;
            margin-bottom: -17px
        }
        #desktop-result .combined-preview {
            margin-left: 220px;  /* 150px gap for desktop */
            margin-right: 220px; /* 150px gap for desktop */
        }
        /* Mobile result box gap */
        #mobile-result .favicon-name-group {
            display: flex;
            align-items: center;
            margin-left: 330px;  /* 345px gap for desktop */
            margin-right: 330px; /* 345px gap for desktop */
        }
        #mobile-result .favicon-name-group img{
            width: 25px;  /* Ensure proper favicon size */
            height: 25px;
            display: block;
            margin-bottom: -17px
        }
        #mobile-result .combined-preview {
            margin-left: 330px;  /* 345px gap for desktop */
            margin-right: 330px; /* 345px gap for desktop */
            
        }
        .favicon-name-group p {
            font-size: 15px !important;  
            margin-top: 30px;
            margin-left: 5px;
            margin-bottom: 10px;
        }

        /* Tablet responsiveness */
        @media (max-width: 900px) {
            .url-input-group input[type="text"] {
                width: 350px;
            }
            .url-input-group button {
                padding: 12px 18px;
            }
            #desktop-result .favicon-name-group {
                margin-left: 50px; /* Reduce gap for tablet */
                margin-right: 50px; /* Reduce gap for tablet */
            }
            #desktop-result .combined-preview {
                margin-left: 50px; /* Reduce gap for tablet */
                margin-right: 50px; /* Reduce gap for tablet */
            }
            #mobile-result .favicon-name-group {
                margin-left: 50px; /* Reduce gap for mobile */
                margin-right: 50px; /* Reduce gap for mobile */
            }
            #mobile-result .combined-preview {
                margin-left: 50px; /* Reduce gap for mobile */
                margin-right: 50px; /* Reduce gap for mobile */
            }

            /* Mobile responsiveness */
        @media (max-width: 600px) {
            .url-input-group input[type="text"] {
                width: 280px;
            }
            .url-input-group button {
                padding: 12px 15px;
            }
            #desktop-result .favicon-name-group {
                margin-left: 20px; /* Further reduce gap for mobile */
                margin-right: 20px; /* Further reduce gap for mobile */
            }
            #desktop-result .combined-preview {
                margin-left: 20px; /* Further reduce gap for mobile */
                margin-right: 20px; /* Further reduce gap for mobile */
            }
            #mobile-result .favicon-name-group {
                margin-left: 20px; /* Further reduce gap for mobile */
                margin-right: 20px; /* Further reduce gap for mobile */
            }
            #mobile-result .combined-preview {
                margin-left: 20px; /* Further reduce gap for mobile */
                margin-right: 20px; /* Further reduce gap for mobile */
            }
        }

