/* IP & Environment Debugger Tool Specific Styles */

.ip-display-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 50px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.ip-display-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ip-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 15px;
}

.ip-address-large {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    word-break: break-all;
}

.copy-ip-btn {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.copy-ip-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.copy-ip-btn:active {
    transform: translateY(0);
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.detail-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.detail-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    word-break: break-all;
}

/* Section Headings */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 40px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* Data Tables */
.env-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 30px;
}

.env-table th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.85rem;
    color: #64748b;
    width: 30%;
    border-bottom: 1px solid var(--border-color);
}

.env-table td {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    word-break: break-all;
    font-family: 'Monaco', 'Consolas', monospace;
}

.env-table tr:last-child td, .env-table tr:last-child th {
    border-bottom: none;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    .ip-address-large {
        font-size: 2.5rem;
    }
    .env-table th {
        width: 40%;
    }
}
