.tokai-decoder-container {
    background-color: white;
    padding: 2rem;
}

.tokai-decoder-inner {
    max-width: 672px;
    margin: 0 auto;
    background-color: #dc2626;
    padding: 2rem;
    border-radius: 1rem;
}

.tokai-decoder-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tokai-decoder-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.tokai-decoder-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.tokai-decoder-period {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

.tokai-decoder-section {
    margin-bottom: 3rem;
}

.tokai-decoder-section-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tokai-decoder-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 3rem 0;
}

.gibson-decoder-search,
.fender-decoder-search {
    margin-bottom: 2rem;
}

.tokai-decoder-search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tokai-decoder-search-container input[type="text"] {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
}

.tokai-decoder-search-container input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
    text-transform: none;
}

#gibson-decode-button,
#fender-decode-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #dc2626;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
}

#gibson-decode-button:hover,
#fender-decode-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.decode-button-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .decode-button-text {
        display: none;
    }
    
    #gibson-decode-button,
    #fender-decode-button {
        padding: 0.75rem;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

.tokai-decoder-result {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tokai-decoder-result:last-child {
    margin-bottom: 0;
}

.tokai-decoder-info-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.tokai-decoder-info-subtitle {
    color: white;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.tokai-decoder-section-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tokai-decoder-year-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.tokai-decoder-year-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.tokai-decoder-year-section h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tokai-decoder-info-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.tokai-decoder-info-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.tokai-decoder-info-value {
    color: white;
    font-size: 1rem;
}

.tokai-decoder-model-info {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.tokai-decoder-model-details {
    margin-top: 0.75rem;
}

.tokai-decoder-model-details p {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tokai-decoder-model-details p span {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.5rem;
}

.tokai-decoder-unknown {
    text-align: center;
    padding: 1.5rem;
}

.tokai-decoder-footer {
    margin-top: 2rem;
    text-align: center;
}

.tokai-decoder-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.tokai-decoder-footer a:hover {
    color: white;
}

.tokai-decoder-error {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}