/* ============================================
   TOOLS SEITE - ELEGANT & MODERN
   ============================================ */

.tools-page {
    background: #f8fafc;
}

.tools-container {
    padding: 4rem 0;
}

/* ============================================
   ADMIN NOTICE
   ============================================ */

.tools-admin-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 0.938rem;
    margin-top: 1rem;
}

.tools-admin-notice i {
    font-size: 1.125rem;
}

/* ============================================
   TOOLS HEADER
   ============================================ */

.tools-header {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tools-header-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0096ff 0%, #0077cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 150, 255, 0.25);
}

.tools-header-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.tools-header-subtitle {
    font-size: 1rem;
    color: #718096;
    margin: 0.25rem 0 0 0;
}

/* ============================================
   TOOLS GRID
   ============================================ */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* ============================================
   TOOL CARD
   ============================================ */

.tool-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.2s ease;
}

.tool-card--active:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tool-card--disabled {
    opacity: 0.6;
}

/* Card Header */
.tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tool-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 150, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0096ff;
    flex-shrink: 0;
}

.tool-card--disabled .tool-card-icon {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

/* Status Badge */
.tool-card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.tool-card-status--development {
    background: rgba(255, 193, 7, 0.1);
    color: #f59e0b;
}

.tool-card-status--release {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.tool-card-status i {
    font-size: 0.75rem;
}

/* Card Body */
.tool-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tool-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.tool-card-version {
    font-size: 0.813rem;
    color: #718096;
    font-weight: 600;
}

.tool-card-alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    font-size: 0.813rem;
    color: #ef4444;
    font-weight: 600;
}

.tool-card-alert i {
    font-size: 0.875rem;
    flex-shrink: 0;
}

.tool-card-description {
    font-size: 0.938rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Card Actions */
.tool-card-actions {
    display: flex;
    gap: 0.75rem;
}

.tool-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.938rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.tool-card-btn--primary {
    background: #0096ff;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 150, 255, 0.25);
}

.tool-card-btn--primary:hover {
    background: #0077cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 150, 255, 0.35);
    color: #ffffff;
}

.tool-card-btn--secondary {
    background: #ffffff;
    color: #4a5568;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.tool-card-btn--secondary:hover {
    background: #f8fafc;
    border-color: #0096ff;
    color: #0096ff;
}

.tool-card-btn--disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.tool-card-btn i {
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .tools-container {
        padding: 3rem 0;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .tools-container {
        padding: 2rem 0;
    }

    .tools-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .tools-header-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .tools-header-title {
        font-size: 1.5rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 1.25rem;
    }

    .tool-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.375rem;
    }

    .tool-card-title {
        font-size: 1.125rem;
    }

    .tool-card-actions {
        flex-direction: column;
    }

    .tool-card-btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .tools-admin-notice {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .tools-header {
        padding: 1.25rem;
    }

    .tools-header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.375rem;
    }

    .tools-header-title {
        font-size: 1.25rem;
    }

    .tools-header-subtitle {
        font-size: 0.938rem;
    }

    .tool-card {
        padding: 1rem;
    }

    .tool-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .tool-card-title {
        font-size: 1rem;
    }

    .tool-card-description {
        font-size: 0.875rem;
    }

    .tool-card-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}