/* General Info Styles - Modern Design */

.general-info-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #c8e0d9 100%);
    position: relative;
    overflow-x: hidden;
}

/* Hero Header */
.hero-header {
    background: linear-gradient(135deg, #5fa292 0%, #3d7a6a 100%);
    color: white;
    padding: 4rem 0 6rem;
    position: relative;
    margin-bottom: -2rem;
}

.hero-header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #c8e0d9 100%);
    transform: skewY(-2deg);
    transform-origin: bottom left;
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.header-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.header-icon i {
    font-size: 3rem;
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.header-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: white;
}

.header-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, white, transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Content Container */
.content-container {
    position: relative;
    z-index: 3;
    padding-bottom: 4rem;
}

/* Modern Breadcrumb */
.modern-breadcrumb {
    margin-bottom: 3rem;
}

.modern-breadcrumb .breadcrumb {
    background: #ffffff;
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(95, 162, 146, 0.1);
}

.modern-breadcrumb .breadcrumb-item a {
    color: #5fa292;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modern-breadcrumb .breadcrumb-item a:hover {
    color: #3d7a6a;
    transform: translateY(-1px);
}

.modern-breadcrumb .breadcrumb-item.active {
    color: #64748b;
    font-weight: 600;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.section-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(95, 162, 146, 0.1);
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(95, 162, 146, 0.15);
}

.section-header {
    background: linear-gradient(135deg, #5fa292 0%, #3d7a6a 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: #ffffff;
    transform: skewY(-1deg);
}

.section-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.section-icon i {
    font-size: 1.8rem;
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: white;
    line-height: 1.2;
    align-self: center;
}

.section-content {
    padding: 3rem;
    position: relative;
    z-index: 2;
}

/* Intro Card Styles */
.welcome-banner {
    background: linear-gradient(135deg, #5fa292, #3d7a6a);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(-15deg);
}

.welcome-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

.objectives-card {
    background: linear-gradient(135deg, #ffffff, #c8e0d9);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid #5fa292;
}

.objectives-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.objectives-header i {
    font-size: 1.5rem;
    color: #5fa292;
    margin-right: 1rem;
}

.objectives-header h4 {
    color: #1e293b;
    margin: 0;
    font-weight: 700;
}

.token-header h4 {
    color: white;
    margin: 0;
    font-weight: 700;
}

.objectives-list {
    display: grid;
    gap: 1rem;
}

.objective-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.objective-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(95, 162, 146, 0.15);
}

.objective-item i {
    color: #10b981;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.objective-item span {
    color: #374151;
    font-weight: 500;
}

/* Environment Cards */
.environments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.environment-card {
    background: linear-gradient(135deg, #ffffff 0%, #c8e3db 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.environment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5fa292, #3d7a6a);
}

.environment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(95, 162, 146, 0.2);
    border-color: rgba(95, 162, 146, 0.3);
}

.environment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.environment-badge {
    display: flex;
    align-items: center;
    background: #5fa292;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.environment-badge i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.copy-button {
    background: transparent;
    border: 2px solid #5fa292;
    color: #5fa292;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.copy-button:hover {
    background: #5fa292;
    color: white;
    transform: scale(1.1);
}

.copy-button.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.copy-button.error {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.environment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.environment-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.url-container {
    background: #ffffff;
    border: 1px solid #b3d1c8;
    border-radius: 10px;
    padding: 1rem;
    position: relative;
}

.environment-url {
    color: #5fa292;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    display: block;
    font-weight: 600;
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.notice-icon {
    font-size: 1.5rem;
    color: #d97706;
    margin-right: 1rem;
    flex-shrink: 0;
}

.notice-content {
    color: #92400e;
    font-weight: 500;
}

/* Token Section */
.token-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #b3d1c8;
}

.token-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.token-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5fa292, #3d7a6a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.token-icon i {
    color: white;
    font-size: 1.3rem;
}

.code-example-modern {
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.code-header {
    background: #334155;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #475569;
}

.code-header span {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.copy-code-btn {
    background: transparent;
    border: 1px solid #475569;
    color: #94a3b8;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.copy-code-btn:hover {
    background: #5fa292;
    border-color: #5fa292;
    color: white;
}

.code-content {
    padding: 1.5rem;
}

.code-content pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', monospace;
}

.code-content code {
    color: #5fa292;
}

/* Modern Table */
.modern-table-container {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.modern-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.modern-table thead {
    background: linear-gradient(135deg, #1e293b, #374151);
    color: white;
}

.modern-table thead th {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    border: none;
}

.modern-table thead th i {
    opacity: 0.8;
}

.table-row {
    transition: all 0.3s ease;
    border-bottom: 1px solid #b3d1c8;
}

.table-row:hover {
    background: #ffffff;
}

.table-row td {
    padding: 1.5rem;
    border: none;
    vertical-align: top;
}

.parameter-cell {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.parameter-code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: inline-block;
}

.success-param {
    background: #ffffff;
    color: #16a34a;
}

.error-param {
    background: #fee2e2;
    color: #dc2626;
}

.warning-param {
    background: #fef3c7;
    color: #d97706;
}

.parameter-type {
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
    font-weight: 500;
}

.description-cell {
    line-height: 1.6;
    color: #374151;
}

.highlight-true {
    color: #16a34a;
    background: #ffffff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.highlight-false {
    color: #dc2626;
    background: #fee2e2;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Final Note */
.final-note {
    background: linear-gradient(135deg, #ffffff, #c8e0d9);
    border-left: 4px solid #5fa292;
    border-radius: 0 15px 15px 0;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.note-icon {
    font-size: 1.5rem;
    color: #5fa292;
    margin-right: 1rem;
    flex-shrink: 0;
}

.note-content {
    color: #3d7a6a;
    font-weight: 500;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    .section-content {
        padding: 2rem;
    }
    
    .environments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .environment-card {
        padding: 1.5rem;
    }
    
    .modern-table thead th,
    .table-row td {
        padding: 1rem;
    }
    
    .parameter-cell {
        gap: 0.3rem;
    }
}

/* Generate Code Page Styles */
.endpoint-banner {
    background: linear-gradient(135deg, #1e293b, #374151);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.endpoint-method {
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.endpoint-path {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1.1rem;
    color: #5fa292;
    font-weight: 600;
}

.code-block-modern {
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid #334155;
}

.code-header {
    background: #334155;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #475569;
}

.code-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-language {
    background: #5fa292;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.code-description {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.copy-code-btn {
    background: transparent;
    border: 1px solid #475569;
    color: #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-code-btn:hover {
    background: #5fa292;
    border-color: #5fa292;
    color: white;
}

.copy-code-btn.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.copy-code-btn.error {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.code-content {
    padding: 2rem;
}

.code-content pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', monospace;
    line-height: 1.6;
}

.code-content code {
    color: #5fa292;
}

.example-image-container {
    margin: 2rem 0;
    text-align: center;
}

.example-section {
    margin: 3rem 0;
    background: linear-gradient(135deg, #ffffff, #c8e0d9);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #5fa292;
}

.example-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(95, 162, 146, 0.2);
}

.example-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5fa292, #3d7a6a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 8px 20px rgba(95, 162, 146, 0.3);
}

.example-icon i {
    color: white;
    font-size: 1.3rem;
}

.example-title {
    color: #1e293b;
    margin: 0;
    font-weight: 700;
    font-size: 1.4rem;
}

.example-image {
    max-width: 90%;
    min-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(95, 162, 146, 0.2);
    cursor: zoom-in;
}

.example-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(95, 162, 146, 0.25);
    border-color: rgba(95, 162, 146, 0.4);
}

.zoomable-image {
    position: relative;
}

.zoom-hint {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #5fa292, #3d7a6a);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.zoom-hint:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.modal-caption {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10001;
}

.modal-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.zoom-level {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.zoom-level span {
    color: #5fa292;
    font-weight: 600;
}

.modal-btn {
    background: linear-gradient(135deg, #5fa292, #3d7a6a);
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(95, 162, 146, 0.3);
}

.modal-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(95, 162, 146, 0.4);
    background: linear-gradient(135deg, #3d7a6a, #5fa292);
}

.modal-btn:active {
    transform: scale(0.95);
}

.image-caption {
    margin-top: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 10px;
    color: #64748b;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
}

.image-caption i {
    color: #5fa292;
}

.example-placeholder {
    background: linear-gradient(135deg, #ffffff, #c8e0d9);
    border: 2px dashed #cbd5e1;
    border-radius: 15px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.example-placeholder:hover {
    background: linear-gradient(135deg, #c8e0d9, #b3d1c8);
    border-color: #5fa292;
}

.example-placeholder i {
    font-size: 3rem;
    color: #64748b;
}

.example-placeholder span {
    color: #64748b;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Table Enhancements */
.parameter-type-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.string-type {
    background: #ffffff;
    color: #3d7a6a;
}

.boolean-type {
    background: #ffffff;
    color: #16a34a;
}

.required-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.required {
    background: #fee2e2;
    color: #dc2626;
}

.optional {
    background: #ffffff;
    color: #6b7280;
}

.conditional {
    background: #fef3c7;
    color: #d97706;
}

.default-value {
    color: #6b7280;
    font-style: italic;
    font-weight: 500;
}

.status-list {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.status-list li {
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
}

.status-active {
    background: #ffffff;
    color: #16a34a;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-processed {
    background: #ffffff;
    color: #3d7a6a;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-expired {
    background: #fef3c7;
    color: #d97706;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-null {
    background: #ffffff;
    color: #6b7280;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.info-param {
    background: #ffffff;
    color: #3d7a6a;
}

/* Message List Styles for Verify Code page */
.message-list {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.message-list li {
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', monospace;
}

.warning-message {
    background: #fef3c7;
    color: #d97706;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', monospace;
}

/* SMS Status Styles */
.status-accepted {
    background: #ffffff;
    color: #16a34a;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-delivered {
    background: #ffffff;
    color: #3d7a6a;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-undeliverable {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-expired {
    background: #ffffff;
    color: #6b7280;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-rejected {
    background: #fecaca;
    color: #b91c1c;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Highlight styles for True/False values */
.highlight-true {
    background: #ffffff;
    color: #16a34a;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.highlight-false {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Reference Card Styles for Email page */
.reference-card {
    border-left: 5px solid #5fa292;
}

.reference-banner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #c8e0d9);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(95, 162, 146, 0.1);
}

.reference-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5fa292, #3d7a6a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(95, 162, 146, 0.3);
    box-shadow: 0 8px 20px rgba(95, 162, 146, 0.3);
    flex-shrink: 0;
}

.reference-icon i {
    color: white;
    font-size: 1.5rem;
}

.reference-content h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.reference-link-container {
    margin: 1.5rem 0;
}

.reference-link {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #5fa292, #3d7a6a);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(95, 162, 146, 0.3);
}

.reference-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(95, 162, 146, 0.4);
    color: white;
    text-decoration: none;
}

.reference-note {
    color: #64748b;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.shared-channels-info {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #5fa292;
}

.shared-channels-info h6 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.channel-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.channel-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.email-badge {
    background: #ffffff;
    color: #16a34a;
    border: 2px solid #16a34a;
}

.whatsapp-badge {
    background: #ffffff;
    color: #059669;
    border: 2px solid #059669;
}

.channels-note {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.channels-note code {
    background: #ffffff;
    color: #5fa292;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

/* WhatsApp Providers and Templates Styles */
.providers-info {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #25D366;
    margin: 1.5rem 0;
}

.providers-info h6 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.provider-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.provider-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.meta-badge {
    background: #ffffff;
    color: #3d7a6a;
    border: 2px solid #3d7a6a;
}

.ibang-badge {
    background: #ffffff;
    color: #7b1fa2;
    border: 2px solid #7b1fa2;
}

.provider-list {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.provider-list li {
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
}

.status-meta {
    background: #ffffff;
    color: #3d7a6a;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.status-ibang {
    background: #ffffff;
    color: #7b1fa2;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Template Card Styles */
.template-card {
    border-left: 5px solid #25D366;
}

.template-card .section-header {
    background: linear-gradient(135deg, #ffffff, #c8e0d9);
}

.template-card .section-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.template-card .section-title {
    color: #1e293b !important;
}

/* Copy button enhancements */
.copy-code-btn.copied {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    transform: scale(1.05);
}

.copy-code-btn.copied .copy-text {
    color: white !important;
}

.copy-button.copied {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    transform: scale(1.05);
}

.copy-button.copied .copy-text {
    color: white !important;
}

.copy-button.error {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border-color: #ef4444 !important;
    transform: scale(1.05);
}

.copy-button.error .copy-text {
    color: white !important;
}

.copy-code-btn.error {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border-color: #ef4444 !important;
    transform: scale(1.05);
}

.copy-success-animation {
    animation: copySuccess 0.6s ease-out;
}

.copy-error-animation {
    animation: copyError 0.6s ease-out;
}

@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
    100% { transform: scale(1.05); }
}

@keyframes copyError {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }
    100% { transform: scale(1.05); }
}

/* Copy notification styles */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    border: 2px solid;
}

.copy-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.copy-notification.hide {
    opacity: 0;
    transform: translateX(100%);
}

.copy-notification-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.9));
    color: white;
    border-color: #10b981;
}

.copy-notification-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    color: white;
    border-color: #ef4444;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-content i {
    font-size: 1.2rem;
}

/* JSON Syntax Highlighting - Blue & White Theme */
.code-content pre {
    background: linear-gradient(135deg, #ffffff 0%, #c8e0d9 100%) !important;
    color: #1e293b !important;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Fira Code', 'Monaco', 'Menlo', monospace;
    line-height: 1.6;
    border: 2px solid #b3d1c8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.code-content code {
    background: transparent !important;
    color: inherit !important;
    padding: 0;
    font-size: 0.9rem;
}

/* JSON syntax colors - Blue & White Theme */
.json-key {
    color: #5fa292;
    font-weight: 600;
}

.json-string {
    color: #0f766e;
    font-weight: 500;
}

.json-number {
    color: #7c3aed;
    font-weight: 600;
}

.json-boolean {
    color: #5fa292;
    font-weight: bold;
}

.json-null {
    color: #6b7280;
    font-style: italic;
    font-weight: 500;
}

.json-brace,
.json-bracket {
    color: #1e293b;
    font-weight: bold;
}

.json-comma {
    color: #64748b;
    font-weight: 500;
}

.json-colon {
    color: #64748b;
    font-weight: 500;
}

/* Responsive adjustments for Generate Code page */
@media (max-width: 768px) {
    .endpoint-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .code-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .code-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .example-placeholder {
        padding: 2rem 1rem;
    }

    .parameter-type-badge,
    .required-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .example-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .example-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }

    .example-title {
        font-size: 1.2rem;
    }

    .image-caption {
        font-size: 0.9rem;
        padding: 0.8rem;
        margin-top: 0.8rem;
    }

    .example-image {
        min-width: unset;
        max-width: 100%;
    }

    .zoom-hint {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .modal-controls {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .zoom-level {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .modal-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .close-modal {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
        top: -35px;
    }

    .modal-image {
        max-height: 75vh;
    }
}