/* base58-encode.css */
.base58-encode-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.base58-hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
}

.base58-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.base58-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.base58-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.base58-hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

.base58-tool-section {
    margin-bottom: 60px;
}

.base58-tool-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.base58-input-container,
.base58-output-container {
    margin-bottom: 30px;
}

.base58-input-container label,
.base58-output-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.base58-input-field,
.base58-output-field {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: monospace;
    font-size: 16px;
    resize: vertical;
    transition: border-color 0.3s;
}

.base58-input-field:focus,
.base58-output-field:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.base58-output-field {
    background-color: #f8fafc;
}

.base58-input-actions,
.base58-output-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.base58-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.base58-btn-primary {
    background: linear-gradient(to right, #4299e1, #3182ce);
    color: white;
}

.base58-btn-primary:hover {
    background: linear-gradient(to right, #3182ce, #2b6cb0);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.base58-btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.base58-btn-secondary:hover {
    background: #cbd5e0;
}

.base58-btn-copy {
    background: #48bb78;
    color: white;
}

.base58-btn-copy:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.base58-btn-download {
    background: #ed8936;
    color: white;
}

.base58-btn-download:hover {
    background: #dd7723;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.base58-info-section {
    margin-bottom: 60px;
}

.base58-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2d3748;
    position: relative;
}

.base58-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #4299e1, #3182ce);
    margin: 15px auto;
    border-radius: 2px;
}

.base58-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.base58-info-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.base58-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.base58-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.base58-info-icon svg {
    width: 35px;
    height: 35px;
}

.base58-info-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.base58-info-box p {
    color: #718096;
    line-height: 1.6;
}

.base58-details-section {
    margin-bottom: 60px;
}

.base58-details-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.base58-feature-highlight {
    margin-bottom: 30px;
}

.base58-feature-highlight h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.base58-alphabet {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.base58-faq-section {
    margin-bottom: 60px;
}

.base58-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.base58-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.base58-faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.base58-faq-question:hover {
    background: #f7fafc;
}

.base58-faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
}

.base58-faq-answer {
    background: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.base58-faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.base58-faq-answer p {
    margin: 0;
    color: #718096;
    line-height: 1.6;
}

.base58-related-tools {
    margin-bottom: 60px;
}

.base58-related-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.base58-related-tool {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    color: inherit;
    text-decoration: none;
}

.base58-related-tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: inherit;
    text-decoration: none;
}

.base58-related-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.base58-related-icon svg {
    width: 25px;
    height: 25px;
}

.base58-related-tool h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2d3748;
}

.base58-related-tool p {
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .base58-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .base58-hero-content p {
        font-size: 1rem;
    }
    
    .base58-tool-wrapper {
        padding: 20px;
    }
    
    .base58-input-actions,
    .base58-output-actions {
        flex-direction: column;
    }
    
    .base58-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .base58-details-content {
        padding: 20px;
    }
    
    .base58-related-container {
        grid-template-columns: 1fr;
    }
}