/* Dorkker Page Specific Styles */
:root {
    --primary: #39ff14;
    --secondary: #00ff41;
    --dark: #000000;
    --darker: #0a0a0a;
    --darkest: #050505;
    --light: #00ff00;
    --text-primary: #e0ffe0;
    --text-secondary: #b3ffb3;
    --border: #1a4d1a;
    --btn-border: #1a4d1a;
    --btn-hover: #1a4d3a;
    --accent: #1db954;
    --accent-hover: #00ffaa;
    --danger: #ff0040;
    --link: #00cccc;
    --font-primary: 'JetBrains Mono', 'Courier New', monospace;
    --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
    --transition-speed: 0.3s;
}

/* Footer Credits */
.footer-credits {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    background: rgba(57, 255, 20, 0.05);
    border-radius: 8px;
}

.footer-credits p {
    margin: 0;
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.footer-credits a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-speed);
    font-weight: 500;
}

.footer-credits a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--primary);
}

/* Cards - matching recon.html style */
.card {
    height: 280px !important;
    display: flex;
    flex-direction: column;
    background: #0a0f0a;
    border: 1px solid #1a4d1a;
    border-radius: 8px;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 1rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
    border-color: var(--primary);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow-y: auto;
}

.card-title {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-shadow: none;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-family: var(--font-primary);
}

/* Buttons - matching recon.html style */
.btn-tool {
    color: var(--text-primary);
    background: #000;
    border: 1px solid var(--btn-border);
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    border-radius: 6px;
    transition: all var(--transition-speed);
    width: 100%;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-tool:hover {
    background: #1a4d1a;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.status-badge {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all var(--transition-speed);
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.btn-tool:hover .status-badge {
    background: var(--primary);
    color: var(--dark);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 6rem auto 2rem;
    padding: 0 1.5rem;
}

/* Grid Layout */
.row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Tool Actions */
.tool-actions {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin-top: 0.5rem;
    max-height: calc(400px - 4rem);
}

.tool-actions::-webkit-scrollbar {
    width: 6px;
}

.tool-actions::-webkit-scrollbar-track {
    background: var(--darker);
    border-radius: 3px;
}

.tool-actions::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
    opacity: 0.5;
}

.tool-actions::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Domain Input Container */
.domain-input-container {
    flex: 1;
    max-width: 400px;
    margin: 0 2rem;
}

.recon-input-group {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border: 2px solid #1a4d1a;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.recon-input-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.1), transparent);
    transition: left 0.5s;
}

.recon-input-group:focus-within::before {
    left: 100%;
}

.recon-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.recon-input-group input {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 100%;
    padding: 0.3rem;
    outline: none;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.recon-input-group input::placeholder {
    color: rgba(224, 255, 224, 0.5);
}

/* Enhanced notification for dork execution */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--darker) 0%, var(--darkest) 100%);
    border: 1px solid var(--primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(57, 255, 20, 0.3);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-weight: 500;
    max-width: 200px;
    font-size: 0.85rem;
    height: 50px;
    box-sizing: border-box;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.3);
}

.notification.info {
    border-color: #00ffff;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.notification i {
    font-size: 0.9rem;
    flex-shrink: 0;
    color: var(--primary);
}

.notification.info i {
    color: #00ffff;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle i {
    color: var(--primary);
    font-size: 1.5rem;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .row {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -280px;
        height: 100vh;
        width: 280px;
        background-color: var(--darker);
        flex-direction: column;
        padding: 4rem 1.5rem 1.5rem;
        gap: 0.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 999;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .domain-input-container {
        margin: 0 1rem;
        max-width: 200px;
    }

    .row {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }

    .notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        height: 50px;
        transform: translateY(100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
}