/* Tools Page Specific Styles */

/* Tools Hero Section */
.tools-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 50, 0, 0.2));
    position: relative;
    overflow: hidden;
}

.tools-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('tools_section_background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

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

.tools-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    margin-bottom: 30px;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
}

.tools-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 50px;
    line-height: 1.6;
}

.tools-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Admin Panel */
.admin-panel-toggle {
    text-align: right;
    margin-bottom: 30px;
}

.admin-panel {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid #00ff00;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
}

.panel-header h2 {
    color: #00ff00;
    font-family: 'Orbitron', monospace;
    margin: 0;
}

/* Upload Form */
.upload-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.upload-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #cccccc;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 5px;
    padding: 12px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #00ff00;
    border-radius: 15px;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    color: #cccccc;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #00ff00;
}

.modal-content h2 {
    color: #00ff00;
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Orbitron', monospace;
}

.admin-hint {
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

/* Tools Controls */
.tools-controls {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 25px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.search-input::placeholder {
    color: #666666;
}

.filter-select {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 5px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.filter-select option {
    background: #000000;
    color: #ffffff;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tool-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: #00ff00;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.tool-name {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.tool-version {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 15px;
}

.tool-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.tool-category {
    background: rgba(0, 0, 0, 0.3);
    color: #00ff00;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tool-date {
    color: #666666;
    font-size: 0.85rem;
}

.tool-actions {
    display: flex;
    gap: 10px;
}

.tool-download,
.tool-delete {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.tool-download {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: #000000;
}

.tool-delete {
    background: transparent;
    color: #ff6666;
    border: 1px solid #ff6666;
}

.tool-delete:hover {
    background: #ff6666;
    color: #000000;
}

.no-tools {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666666;
}

.no-tools h3 {
    color: #cccccc;
    margin-bottom: 10px;
}

/* Categories Overview */
.categories-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 20, 0, 0.3), rgba(0, 0, 0, 0.9));
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #00ff00;
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.2);
}

.category-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    filter: grayscale(1) brightness(0) invert(1);
}

.category-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
}

.category-card p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.category-features {
    list-style: none;
    padding: 0;
}

.category-features li {
    color: #aaaaaa;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    position: relative;
    padding-left: 20px;
}

.category-features li::before {
    content: '✓';
    color: #00ff00;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.category-features li:last-child {
    border-bottom: none;
}

/* Usage Guidelines */
.usage-guidelines {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.95);
}

.guidelines-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.guidelines-text h2 {
    color: #00ff00;
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-shadow: 0 0 10px #00ff00;
}

.guideline-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border-left: 4px solid #00ff00;
    border-radius: 0 10px 10px 0;
}

.guideline-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guideline-item p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.guidelines-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-badge {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #00ff00;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 250px;
}

.badge-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: grayscale(1) brightness(0) invert(1);
}

.security-badge h3 {
    color: #00ff00;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.security-badge p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Support Section */
.tools-support {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 50, 0, 0.1), rgba(0, 0, 0, 0.9));
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.support-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: #00ff00;
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.2);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: grayscale(1) brightness(0) invert(1);
}

.support-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.support-card p {
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.support-link {
    color: #00ff00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.support-link:hover {
    text-shadow: 0 0 5px #00ff00;
}

.support-link::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.support-link:hover::after {
    transform: translateX(5px);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: #ffffff;
    font-weight: 500;
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: rgba(0, 255, 0, 0.9);
    border: 1px solid #00ff00;
    color: #000000;
}

.notification-error {
    background: rgba(255, 0, 0, 0.9);
    border: 1px solid #ff0000;
}

.notification-info {
    background: rgba(0, 150, 255, 0.9);
    border: 1px solid #0096ff;
}

/* Active Navigation Link */
.nav-link.active {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-title {
        font-size: 2.2rem;
    }
    
    .tools-controls {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .guidelines-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .panel-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tools-title {
        font-size: 1.8rem;
    }
    
    .tools-stats {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}

