@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --j-primary-blue: #0e2746;
    --j-accent-red: #e8312b;
    --j-text-black: #1a1a1a;
    --j-bg-white: #ffffff;
    --j-bg-light: #f4f6f8;
    --j-code-bg: #1e293b;
}


/* Main Container */
.j-tu-new-container {    
    margin-top: 20px;
    background-color: var(--j-bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Typography */
.j-tu-new-main-title {
    font-size: 2.5rem;
    color: var(--j-primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 4px solid var(--j-accent-red);
    display: inline-block;
    padding-bottom: 5px;
}

.j-tu-new-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.j-tu-new-h2 {
    font-size: 1.8rem;
    color: var(--j-primary-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.j-tu-new-h3 {
    font-size: 1.4rem;
    color: var(--j-primary-blue);
    margin-top: 25px;
    font-weight: 600;
}

/* Step Badge Design */
.j-tu-new-step-badge {
    background-color: var(--j-accent-red);
    color: white;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 4px;
    margin-right: 15px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Prerequisites Box */
.j-tu-new-prereq-box {
    background-color: #f0f4f8;
    border-left: 5px solid var(--j-primary-blue);
    padding: 20px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 30px;
}

.j-tu-new-list {
    list-style-type: none;
    padding-left: 0;
}

.j-tu-new-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.j-tu-new-list li::before {
    content: "•";
    color: var(--j-accent-red);
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Code Blocks */
.j-tu-new-code-block {
    background-color: var(--j-primary-blue);
    color: #e2e8f0;
    padding: 15px 20px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    overflow-x: auto;
    margin: 15px 0;
    border-left: 4px solid var(--j-accent-red);
}

.j-tu-new-code-label {
    display: block;
    font-size: 0.75rem;
    color: #8899ac;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Configuration List (Wizard) */
.j-tu-new-config-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.j-tu-new-config-question {
    font-weight: 600;
    color: var(--j-primary-blue);
    display: block;
    margin-bottom: 5px;
}

.j-tu-new-config-answer {
    color: var(--j-accent-red);
    font-weight: bold;
    font-family: 'JetBrains Mono', monospace;
}

/* Alert/Note Box */
.j-tu-new-alert {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 0.95rem;
}

.j-tu-new-warring {
    background-color: #fffbf5;
    border: 1px solid #feecd7;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 16px;
}

.j-tu-new-info {
    background-color: #d3e0fd;
    border: 1px solid #d7e9fe;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 16px;
}

.j-tu-new-alert strong {
    color: var(--j-accent-red);
}

/* Port/Firewall Grid */
.j-tu-new-port-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.j-tu-new-port-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    transition: transform 0.2s;
}

.j-tu-new-port-card:hover {
    border-color: var(--j-primary-blue);
    transform: translateY(-2px);
}

.j-tu-new-port-number {
    color: var(--j-accent-red);
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

/* WebAdmin Highlight */
.j-tu-new-admin-box {
    background: var(--j-primary-blue);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.j-tu-new-admin-box a {
    color: #63b3ed;
    text-decoration: none;
}

/* FAQ Section */
.j-tu-new-faq-item {
    background-color: #f8fafc;
    border-left: 3px solid #cbd5e1;
    padding: 20px;
    margin-bottom: 15px;
}

.j-tu-new-faq-q {
    color: var(--j-primary-blue);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* Call to Action (CTA) */
.j-tu-new-cta-box {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--j-primary-blue) 0%, #1a3c66 100%);
    color: white;
    border-radius: 8px;
    margin-top: 50px;
}

.j-tu-new-btn {
    display: inline-block;
    background-color: var(--j-accent-red);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.3s;
}

.j-tu-new-btn:hover {
    background-color: #c52722;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .j-tu-new-container {
        padding: 20px;
        margin: 20px 10px;
    }

    .j-tu-new-main-title {
        font-size: 1.8rem;
    }

    .j-tu-new-h2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .j-tu-new-step-badge {
        margin-bottom: 10px;
    }
}
.j-tu-new-section-bn {
    border-top: 2px dashed #e2e8f0; 
    margin-top: 40px; 
    padding-top: 20px;
}
.j-tu-new-alert-bn {
    border-color: var(--j-primary-blue); 
    background-color: #ebf8ff; 
    color: var(--j-primary-blue);

}
.j-tu-new-h2-bn {
    color:var(--j-accent-red);
}
.j-tu-new-code-block-bn {
    margin-top:10px; 
    background:white; 
    color:black; 
    border:1px solid #ccc;
}
.j-tu-new-link {
    color: var(--j-accent-red) !important;
    text-decoration: none !important;
    font-weight: 500;
}
#profileUrl .reviewus {
    font-size: 25px !important;
}


.code-editor-container {
  background-color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace;
 
}


.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2d2d2d;
  padding: 10px 15px;
  border-bottom: 1px solid #3d3d3d;
}

.mac-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }


.language-tag {
  color: #858585;
  font-size: 14px;
  font-family: sans-serif;
  font-weight: bold;
}

.copy-btn {
  background-color: #4a4a4a;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s ease;
}

.copy-btn:hover {
  background-color: #6a6a6a;
}

.editor-body {
  padding: 15px;
  overflow-x: auto; 
}

.editor-body pre {
  margin: 0;
}

.editor-body code {
  color: #9cdcfe !important; 
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500 !important;
}
.editor-body code .comment {
    color: green !important;
}
.tu-h3 {
    font-size: 25px;
    font-weight: 600;
    margin-top: 30px;
}
.j-new-mig-tu-related-link {
    text-decoration: none;
    color: var(--blog-secondary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 7px;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}
.j-new-mig-tu-related-link:hover {
    transform: translateX(10px);
    color: var(--j-primary-blue);
}