* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 20px;
}
        #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #0f2027, #16262c, #203a43, #2c5364);
            background-size: 400% 400%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
            animation: gradientBG 15s ease infinite;
            overflow: hidden;
            padding: 20px;
            text-align: center;
        }

        /* Animated background */
        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Floating particles effect */
        #loading-screen::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(0, 231, 255, 0.15) 2px, transparent 3px),
                radial-gradient(circle at 80% 70%, rgba(0, 166, 255, 0.1) 1px, transparent 2px),
                radial-gradient(circle at 40% 90%, rgba(0, 231, 255, 0.1) 2px, transparent 3px),
                radial-gradient(circle at 65% 15%, rgba(0, 166, 255, 0.15) 1px, transparent 2px);
            background-size: 300px 300px, 200px 200px, 250px 250px, 350px 350px;
            animation: float 30s linear infinite;
        }

        @keyframes float {
            0% { background-position: 0 0, 0 0, 0 0, 0 0; }
            100% { background-position: 300px 300px, 200px 200px, 250px 250px, 350px 350px; }
        }

        /* Shine effect */
        #loading-screen::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                45deg,
                transparent, 
                rgba(0, 231, 255, 0.1), 
                rgba(0, 166, 255, 0.2),
                transparent
            );
            transform: rotate(45deg);
            animation: shine 3s infinite;
            z-index: 1;
        }

        @keyframes shine {
            0% {
                left: -50%;
            }
            100% {
                left: 150%;
            }
        }

        .logo-container {
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 2;
        }

        .logo-icon {
            font-size: 4rem;
            color: #00e1ff;
            text-shadow: 0 0 15px rgba(0, 225, 255, 0.7);
            animation: pulse 2s infinite ease-in-out;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                text-shadow: 0 0 15px rgba(0, 225, 255, 0.7);
            }
            50% {
                transform: scale(1.1);
                text-shadow: 0 0 25px rgba(0, 225, 255, 1);
            }
        }

        .loading-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1.5rem;
            position: relative;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            z-index: 2;
        }

        .loading-title span {
            color: #00ffff;
            position: relative;
        }

        .loading-title span::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #00ffff, transparent);
            animation: underline 2s infinite;
        }

        @keyframes underline {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 1; }
        }

        .loading-icons {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
            z-index: 2;
        }

        .loading-icon {
            font-size: 1.8rem;
            color: rgba(255, 255, 255, 0.7);
            animation: bounce 2s infinite;
            z-index: 2;
        }

        .loading-icon:nth-child(1) { animation-delay: 0.2s; }
        .loading-icon:nth-child(2) { animation-delay: 0.4s; }
        .loading-icon:nth-child(3) { animation-delay: 0.6s; }

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
                color: rgba(255, 255, 255, 0.7);
            }
            50% {
                transform: translateY(-10px);
                color: #00e1ff;
                text-shadow: 0 0 10px rgba(0, 225, 255, 0.7);
            }
        }

        .loading-text {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 1.5rem;
            max-width: 80%;
            z-index: 2;
        }

        .loading-bar-container {
            width: 300px;
            height: 12px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
            z-index: 2;
        }

        .loading-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #00a6ff, #00e1ff, #00a6ff);
            background-size: 200% 100%;
            border-radius: 10px;
            animation: loading 4s linear forwards, gradientMove 3s infinite linear;
            box-shadow: 0 0 10px rgba(0, 231, 255, 0.7);
        }

        @keyframes loading {
            0% { width: 0%; }
            100% { width: 100%; }
        }

        @keyframes gradientMove {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }

        .loading-percentage {
            font-size: 1.2rem;
            font-weight: 600;
            color: #ffffff;
            margin-top: 1rem;
            text-shadow: 0 0 10px rgba(0, 231, 255, 0.7);
            z-index: 2;
        }

        .loading-subtext {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 1rem;
            font-style: italic;
            max-width: 80%;
            z-index: 2;
        }

        /* Responsive adjustments */
        @media (max-width: 600px) {
            .logo-icon {
                font-size: 3rem;
            }
            
            .loading-title {
                font-size: 1.8rem;
            }
            
            .loading-bar-container {
                width: 250px;
            }
            
            .loading-icons {
                gap: 1rem;
            }
            
            .loading-icon {
                font-size: 1.5rem;
            }
        }
/* Main Content Styles */
.console-container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.console-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.console-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #e6e6e6;
    
}

.console-header h1 span {
    color: #00ffff;
}

.console-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.category {
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.category-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #00ffff;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #e6e6e6;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.tool-btn {
    background: rgba(0, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 15px;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.tool-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.tool-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.tool-btn:hover::before {
    left: 100%;
}

.tool-icon {
    font-size: 20px;
    margin-right: 15px;
    color: #00ffff;
    width: 30px;
    text-align: center;
}

.tool-text {
    flex: 1;
}

.tool-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.tool-desc {
    font-size: 0.85rem;
    opacity: 0.8;
}

.console-footer {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .console-header h1 {
        font-size: 2.2rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .loading-title {
        font-size: 2rem;
    }
    
    .loading-bar-container {
        width: 250px;
    }
}
/* ... (your existing styles) ... */

/* Feedback Form Styles */
.feedback-form {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.feedback-description {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e6e6e6;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(90deg, #00ffff, #00b3b3);
    color: #0f2027;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #00b3b3, #00ffff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.submit-btn:disabled {
    background: rgba(0, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

.feedback-message {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.feedback-message.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
    display: block;
}

.feedback-message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
    display: block;
}

@media (max-width: 768px) {
    .feedback-form {
        padding: 15px;
    }
}






/* Search and Theme Container */
.search-theme-container {
    margin: 20px 0 30px;
    padding: 0 10px;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    display: flex;
    align-items: center;
}



#toolSearch {
    width: 100%;
    padding: 12px 15px 12px 45px; /* space for icon */
    border: 2px solid #43eeeb;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 1rem;
    line-height: 1.2rem;     /* keeps alignment consistent */
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    transition: all 0.3s;
}

#toolSearch:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.4);
}




.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #0099ff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(0, 255, 255, 0.3);
    transform: rotate(15deg);
}

/* Light theme styles */
body.light-theme {
    background: linear-gradient(135deg, #e6f7ff, #b3e0ff);
    color: #2c3e50;
}

body.light-theme .console-container {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 150, 200, 0.3);
}
.hidden-category {
    display: none !important;
}


body.light-theme .console-header {
    border-bottom: 1px solid rgba(0, 150, 200, 0.3);
}

body.light-theme .console-header h1 {
    color: #2c3e50;
}

body.light-theme .console-header h1 span {
    color: #007acc;
}

body.light-theme .console-subtitle {
    color: #7f8c8d;
}

body.light-theme .category {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

body.light-theme .category-header {
    border-bottom: 1px solid rgba(0, 150, 200, 0.2);
}

body.light-theme .category-title {
    color: #2c3e50;
}

body.light-theme .tool-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #2c3e50;

    /* Added styles */
    border: 1px solid #dcdcdc;   /* thin light gray border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* light shadow */
    border-radius: 6px; /* optional for smoother corners */
}


body.light-theme .tool-btn:hover {
   
    box-shadow: 0 5px 15px rgba(0, 150, 200, 0.2);
    border-color: #0096c8; /* blue border on hover */
    transform: translateY(-2px); /* slight lift effect */
}

body.light-theme .tool-icon {
    color: #007acc;
}

body.light-theme .console-footer {
    color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme #toolSearch {
    background: rgba(255, 255, 255, 0.8);
    color: #2c3e50;
    box-shadow: 0 0 10px rgba(0, 150, 200, 0.2);
}

body.light-theme #toolSearch:focus {
    box-shadow: 0 0 15px rgba(0, 150, 200, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

body.light-theme .theme-toggle {
    background: rgba(0, 150, 200, 0.2);
    color: #007acc;
    box-shadow: 0 0 10px rgba(0, 150, 200, 0.2);
}

body.light-theme .theme-toggle:hover {
    background: rgba(0, 150, 200, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .search-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .theme-toggle {
        margin-left: 0;
        margin-top: 10px;
    }
    
    #toolSearch {
        padding: 10px 12px 10px 40px;
    }
}



