/* Container Styles */
.container {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid #333;
    width: 100%;
}

.title-divider {
    border: none;
    border-top: 2px solid #2196F3;
    margin: 0;
    opacity: 0.5;
}

.container-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Input styles */
#address-input {
    height: 40px;  
    max-width: 400px;
    background-color: #000000;
    color: #CCCCCC;
}

/* Address Input Container */
.address-input-container {
    position: relative;
}

.address-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

#address-input {
    flex: 1;
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.confirm-btn {
    padding: 8px 16px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.confirm-btn:hover {
    background-color: #1976D2;
}

/* FID Dropdown */
.fid-dropdown {
    position: relative;
    width: 100%;
    background-color: #333333;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.fid-dropdown.active {
    display: block;
}

.fid-dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    color: #CCCCCC;
}

.fid-dropdown-item:hover {
    background-color: #444444;
}

/* Result Container */
.result-content {
    background-color: var(--code-background);
    padding: 15px;
    border-radius: 4px;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
    min-height: 60px;
}

/* Button Container */
.button-container {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    background: none;
    box-shadow: none;
    padding: 0;
    border: none;
    margin-bottom: 0;
}

.action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
}

#clear-btn {
    background-color: #2196F3;
    color: white;
}

#clear-btn:hover {
    background-color: #1976D2;
}

#copy-btn {
    background-color: #2196F3;
    color: white;
}

#copy-btn:hover {
    background-color: #1976D2;
}

#convert-btn {
    background-color: #2196F3;
    color: white;
}

#convert-btn:hover {
    background-color: #1976D2;
}

#convert-btn:disabled {
    background-color: #666666;
    color: #999999;
    cursor: not-allowed;
}

#convert-btn:disabled:hover {
    background-color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .address-input-group {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    #address-input {
        flex: 1;
    }

    .confirm-btn {
        flex-shrink: 0;
    }

    .button-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .action-btn {
        flex: 1;
        min-width: 80px;
        font-size: 14px;
        padding: 4px 8px;
    }
}

/* Convert Error Message Styles */
.convert-error-message {
    animation: slideInFromBottom 0.3s ease-out;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
} 