/* Base58 Decode Tool Styles */
.base58-decode-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.base58-decode-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.base58-decode-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.base58-decode-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.base58-decode-tool {
    margin-bottom: 60px;
}

.base58-decode-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.base58-decode-input-section,
.base58-decode-output-section {
    margin-bottom: 30px;
}

.base58-decode-input-section label,
.base58-decode-output-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.base58-decode-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.base58-decode-textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.base58-decode-button {
    background: #4299e1;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-size: 1rem;
}

.base58-decode-button:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.base58-decode-output-wrapper {
    position: relative;
}

.base58-decode-copy-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(66, 153, 225, 0.1);
    color: #4299e1;
    border: 1px solid #4299e1;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.base58-decode-copy-btn:hover {
    background: #4299e1;
    color: white;
}

.base58-decode-info {
    margin-bottom: 60px;
}

.base58-decode-section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2d3748;
    position: relative;
}

.base58-decode-section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border-radius: 2px;
}

.base58-decode-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.base58-decode-info-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.base58-decode-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.base58-decode-info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.base58-decode-info-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.base58-decode-info-box p {
    color: #718096;
    line-height: 1.6;
}

.base58-decode-content {
    margin-bottom: 60px;
}

.base58-decode-content-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.base58-decode-content-shape {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.base58-decode-content-shape.reverse {
    flex-direction: row-reverse;
}

.base58-decode-shape-element {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    position: relative;
}

.base58-decode-shape-element:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
}

.base58-decode-content-shape p {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
}

.base58-decode-subtitle {
    font-size: 1.6rem;
    margin: 30px 0 20px;
    color: #2d3748;
}

.base58-decode-related-tool {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: center;
}

.base58-decode-related-tool h3 {
    margin-bottom: 10px;
    color: #2d3748;
}

.base58-decode-related-tool a {
    color: #2b6cb0;
    font-weight: 600;
    text-decoration: none;
}

.base58-decode-related-tool a:hover {
    text-decoration: underline;
}

.base58-decode-faq {
    margin-bottom: 60px;
}

.base58-decode-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.base58-decode-accordion-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.base58-decode-accordion-btn {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: white;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.base58-decode-accordion-btn:hover {
    background: #f7fafc;
}

.base58-decode-accordion-btn span {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.base58-decode-accordion-btn.active span {
    transform: rotate(45deg);
}

.base58-decode-accordion-panel {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.base58-decode-accordion-panel.active {
    padding: 20px;
    max-height: 300px;
}

.base58-decode-accordion-panel p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .base58-decode-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .base58-decode-content-shape,
    .base58-decode-content-shape.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .base58-decode-shape-element {
        width: 120px;
        height: 120px;
    }
    
    .base58-decode-shape-element:after {
        width: 80px;
        height: 80px;
    }
    
    .base58-decode-info-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .base58-decode-container {
        padding: 10px;
    }
    
    .base58-decode-card {
        padding: 20px;
    }
    
    .base58-decode-hero {
        padding: 30px 15px;
    }
    
    .base58-decode-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .base58-decode-content-wrapper {
        padding: 20px;
    }
    
    .base58-decode-section-title {
        font-size: 1.8rem;
    }
}