/* TNG Utility Plugins Styles */

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    line-height: 1.5;
}

.btn-default {
    background: #0066cc;
    color: #fff;
}

.btn-default:hover {
    background: #0052a3;
    color: #fff;
    text-decoration: none;
}

.btn-primary {
    background: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background: #0052a3;
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #545b62;
    color: #fff;
    text-decoration: none;
}

.btn-success {
    background: #28a745;
    color: #fff;
}

.btn-success:hover {
    background: #218838;
    color: #fff;
    text-decoration: none;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background: #c82333;
    color: #fff;
    text-decoration: none;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
    color: #212529;
    text-decoration: none;
}

.btn-info {
    background: #17a2b8;
    color: #fff;
}

.btn-info:hover {
    background: #138496;
    color: #fff;
    text-decoration: none;
}

.btn-light {
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

.btn-light:hover {
    background: #e2e6ea;
    color: #212529;
    text-decoration: none;
}

.btn-dark {
    background: #343a40;
    color: #fff;
}

.btn-dark:hover {
    background: #23272b;
    color: #fff;
    text-decoration: none;
}

/* Icon Styles */
.icon {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: inherit;
}

/* Gravity Forms Select Container Styles */
.gselect_container select {
    width: 100%;
}

.gselect_multi_container {
    position: relative;
}

/* TablePress Container Styles */
.tablepress-container {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.tablepress-container table.tablepress {
    min-width: 500px;
    width: 100%;
}

/* Web Content Block Styles */
.tng-webcontent-block {
    margin: 2rem 0;
    line-height: 1.7;
}

.tng-webcontent-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
}

.tng-webcontent-body {
    font-size: 1rem;
    color: #333;
}

.tng-webcontent-body p {
    margin: 0 0 1.25rem 0;
    line-height: 1.7;
}

.tng-webcontent-body p:last-child {
    margin-bottom: 0;
}

.tng-webcontent-body h1,
.tng-webcontent-body h2,
.tng-webcontent-body h3,
.tng-webcontent-body h4,
.tng-webcontent-body h5,
.tng-webcontent-body h6 {
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

.tng-webcontent-body h1 { font-size: 2.25rem; }
.tng-webcontent-body h2 { font-size: 1.875rem; }
.tng-webcontent-body h3 { font-size: 1.5rem; }
.tng-webcontent-body h4 { font-size: 1.25rem; }
.tng-webcontent-body h5 { font-size: 1.125rem; }
.tng-webcontent-body h6 { font-size: 1rem; }

.tng-webcontent-body ul,
.tng-webcontent-body ol {
    margin: 0 0 1.25rem 0;
    padding-left: 2rem;
}

.tng-webcontent-body li {
    margin-bottom: 0.5rem;
}

.tng-webcontent-body a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.2s;
}

.tng-webcontent-body a:hover {
    color: #0052a3;
}

.tng-webcontent-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.tng-webcontent-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #0066cc;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

.tng-webcontent-body blockquote p:last-child {
    margin-bottom: 0;
}

.tng-webcontent-body table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.tng-webcontent-body table th,
.tng-webcontent-body table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

.tng-webcontent-body table th {
    background: #f8f9fa;
    font-weight: 600;
}

.tng-webcontent-body hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #ddd;
}

.tng-webcontent-body code {
    background: #f4f4f4;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'Courier New', Courier, monospace;
}

.tng-webcontent-body pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.25rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.tng-webcontent-body pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .tng-webcontent-title {
        font-size: 1.5rem;
    }
    
    .tng-webcontent-body {
        font-size: 0.9375rem;
    }
    
    .tng-webcontent-body h1 { font-size: 1.75rem; }
    .tng-webcontent-body h2 { font-size: 1.5rem; }
    .tng-webcontent-body h3 { font-size: 1.25rem; }
    .tng-webcontent-body h4 { font-size: 1.125rem; }
