/* Developer Tools Styles - Blue & White Theme */
:root {
    --primary-color: #ffffff !important;
    --secondary-color: #1a1a1a;
    --accent-color: #2d2d2d;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --gradient-primary: linear-gradient(135deg, #ffffff, #ffffff);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    --shadow-light: 0 4px 20px rgba(255, 107, 53, 0.1);
    --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-logo a h2 {color: #ff6600 !important;}
.form-group input, .form-group select, .form-group textarea {
    background: #ffffff !important;
    color: #333333 !important;
}
.form-group label {
    color: #333333 !important;
}
.form-group textarea {
    background: #ffffff !important;
    color: #333333 !important;
}

body {
    margin: 0;
    padding: 0;
    background: #f5f7fa;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.dev-tools-page {
    min-height: calc(100vh - 200px);
    background: #f5f7fa;
    padding: 40px 0;
}

.dev-tools-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.dev-tools-hero {
    background: linear-gradient(135deg, #d95043 0%, #6e7895 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dev-tools-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 15px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.dev-tools-title i {
    font-size: 2.5rem;
    color: #93c5fd;
}

.dev-tools-subtitle {
    font-size: 1.1rem;
    color: #e0e7ff;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 25px;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #1e293b;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-box input:focus {
    border-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-box button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.search-box button:hover {
    color: #1e293b;
}

.header-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    color: #e0e7ff;
    margin: 20px auto 0;
    flex-wrap: wrap;
}

.header-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-stats i {
    color: #93c5fd;
    font-size: 1.1rem;
}

/* Categories */
.tools-categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.category-section:hover {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.category-info {
    flex: 1;
}

.category-info h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0 0 5px 0;
    font-weight: 600;
    line-height: 1.3;
}

.category-info p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Tools Row - Single Row Layout */
.tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: stretch;
}

.tool-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-width: 160px;
    max-width: 180px;
    flex: 1 1 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tool-card:hover {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.tool-card h3 {
    font-size: 0.9rem;
    color: #1e293b;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    word-wrap: break-word;
    width: 100%;
}

/* Search Results */
.search-results {
    margin-bottom: 30px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.search-results h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-results h3 i {
    color: #2563eb;
}

.search-results .tools-row {
    justify-content: flex-start;
}

/* Tool Page Styles */
.tool-page {
    min-height: calc(100vh - 200px);
    background: #f5f7fa;
    padding: 71px 0;
}

.tool-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tool-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.tool-header h1 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.tool-header p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tool-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.tool-section {
    margin-bottom: 25px;
}

.tool-section:last-child {
    margin-bottom: 0;
}

.tool-section h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.tool-section h3 i {
    color: #2563eb;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    font-size: 0.9rem;
}

.btn-tool {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.btn-tool-secondary {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.btn-tool-secondary:hover {
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.result-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    min-height: 80px;
    font-family: 'Courier New', monospace;
    color: #1e293b;
    white-space: pre-wrap;
    word-wrap: break-word;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
}

.result-box.success {
    border-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
}

.result-box.error {
    border-color: #ef4444;
    background: #fef2f2;
    color: #991b1b;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.copy-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.select-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.select-group select {
    padding: 10px 15px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.95rem;
    cursor: pointer;
    line-height: 1.4;
}

.select-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.info-box {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #1e40af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-box i {
    color: #2563eb;
    margin-right: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.back-link:hover {
    color: #1e40af;
    transform: translateX(-5px);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.dev-tools-header-bar {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dev-tools-header-bar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.home-link:hover {
    color: #1e40af;
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .dev-tools-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .dev-tools-title i {
        font-size: 2rem;
    }
    
    .dev-tools-subtitle {
        font-size: 0.95rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .dev-tools-hero {
        padding: 40px 0;
    }
    
    .search-box input {
        padding: 14px 45px 14px 45px;
        font-size: 0.9rem;
    }
    
    .tools-row {
        justify-content: center;
    }
    
    .tool-card {
        min-width: 140px;
        max-width: 160px;
        padding: 15px;
    }
    
    .tool-content {
        padding: 20px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-section {
        padding: 20px;
    }
    
    .tool-header h1 {
        font-size: 1.6rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
